[pitivi] Allow setting a custom pitivi-git dir in bashrc or with env vars



commit 141861fdeaa7f77dfd8ff5834d2e1e9236d1442a
Author: Alex BÄluÈ <alexandru balut gmail com>
Date:   Thu Nov 8 12:17:00 2012 -0500

    Allow setting a custom pitivi-git dir in bashrc or with env vars

 bin/pitivi-git-environment.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index e47ab38..fa7fa42 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -12,7 +12,8 @@
 #
 #  + an empty location where you have R+W access, so that the script
 #    can set up everything for you (recommended).
-MYPITIVI=$HOME/pitivi-git
+# Either set $MYPITIVI in your ~/.bashrc, or edit the line below:
+MYPITIVI=${MYPITIVI:-$HOME/pitivi-git}
 # Change this variable to 'master' if you prefer to work with the master branch
 # When using "master", this script will automatically "pull --rebase" modules.
 GST_RELEASE_TAG="1.0.2"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]