Skip to content

Commit

Permalink
environment.sh: Proper shell code for assigning default values for en…
Browse files Browse the repository at this point in the history
…vironment variables
  • Loading branch information
techtonik committed Feb 29, 2012
1 parent af81bd4 commit f2f5d50
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions environment.sh
Expand Up @@ -3,11 +3,16 @@
# To build a Debug release, make sure to have the debugging version
# of Python installed:
#export BUILD_TYPE=Debug
export BUILD_TYPE?=Release
if [ -z "$BUILD_TYPE" ]; then
export BUILD_TYPE=Release
fi

# Whenever to build Python 3 or Python 2 version:
#export PYSIDE_BUILDSCRIPTS_USE_PYTHON3=yes
export PYSIDE_BUILDSCRIPTS_USE_PYTHON3?=no
if [ -z "$PYSIDE_BUILDSCRIPTS_USE_PYTHON3" ]; then
export PYSIDE_BUILDSCRIPTS_USE_PYTHON3=no
fi



if [ "$PYSIDE_BUILDSCRIPTS_USE_PYTHON3" = "yes" ]; then
Expand Down

0 comments on commit f2f5d50

Please sign in to comment.