Skip to content

Commit

Permalink
OSX build: Fix treatment of environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
morevnaproject committed Sep 15, 2015
1 parent f0ad373 commit ab42cc5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions autobuild/synfigstudio-osx-build.sh
Expand Up @@ -54,20 +54,18 @@ if [ -e "$SYNFIG_REPO_DIR/build.conf" ]; then
fi

if [ ! -z $UNIVERSAL ] && [[ ! $UNIVERSAL == 0 ]]; then
export BUILDDIR=~/synfig-buildroot/build.universal
export BUILDDIR=~/synfig-buildroot/build.u
else
export BUILDDIR=~/synfig-buildroot/build
export UNIVERSAL=0
fi

if [ -z $X11 ]; then
if [ ! -z $X11 ] && [[ ! $X11 == 0 ]]; then
export X11=1
fi
if [[ $X11 == 1 ]]; then
export BUILDDIR=${BUILDDIR}.x11
fi

if [ ! -z $DEBUG ]; then
if [ ! -z $DEBUG ] && [[ ! $DEBUG == 0 ]]; then
echo
echo "Debug mode: enabled"
echo
Expand Down

0 comments on commit ab42cc5

Please sign in to comment.