[pitivi] bin: Remove obsolete MYPITIVI environment variable
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] bin: Remove obsolete MYPITIVI environment variable
- Date: Fri, 11 Nov 2016 19:03:33 +0000 (UTC)
commit 2f616364ca9ed463aa42241a9479f8978505e254
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Oct 25 13:05:59 2016 +0200
bin: Remove obsolete MYPITIVI environment variable
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1465
bin/pitivi-env | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bin/pitivi-env b/bin/pitivi-env
index 845962d..5c71daf 100755
--- a/bin/pitivi-env
+++ b/bin/pitivi-env
@@ -1,16 +1,19 @@
#!/bin/bash
+# Script which must be sourced to setup the development environment.
+
# This has to be the first command because BASH_SOURCE[0] gets changed.
SCRIPT=${BASH_SOURCE[0]:-$0}
[[ "${BASH_SOURCE[0]}" == "$0" ]] \
- && printf "This script should not be executed but sourced like:\n $ source $0\n" \
+ && echo "This script should not be executed but sourced like:" \
+ && echo " $ source $0" \
+ && echo \
&& exit 1
SCRIPTDIR=$(dirname $(realpath $SCRIPT))
export FLATPAK_ENVPATH=$(realpath $SCRIPTDIR/../../)
export CURRENT_GST=$FLATPAK_ENVPATH
-export MYPITIVI=$FLATPAK_ENVPATH
export make="$FLATPAK_ENVPATH/pitivi/build/flatpak/pitivi-flatpak -d make"
export check="$FLATPAK_ENVPATH/pitivi/build/flatpak/pitivi-flatpak -d make check"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]