[pitivi] bin: git-environment: Make sure that pitivi will execute the local uninstalled one
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] bin: git-environment: Make sure that pitivi will execute the local uninstalled one
- Date: Thu, 29 Jan 2015 16:57:51 +0000 (UTC)
commit ea24daf7e6e709e149fcfd49dcd56ba77fc3ebde
Author: Thibault Saunier <tsaunier gnome org>
Date: Fri Jan 2 15:40:54 2015 +0100
bin: git-environment: Make sure that pitivi will execute the local uninstalled one
In Fedora it looks like they decided to install pitivi inside standard default
site-package directory leading to our script running system wide pitivi
when trying to run uninstalled
bin/pitivi-git-environment.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index 0212c46..16da7e2 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -64,6 +64,8 @@ else
MODULES_CORE="${MODULES_CORE} pygobject"
fi
+PYTHONPATH=$MYPITIVI/pitivi:$PYTHONPATH
+
# The following decision has to be made before we've set any env variables,
# otherwise the script will detect our "gst uninstalled" and think it's the
# system-wide install.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]