Skip to content

Commit

Permalink
Fix two if-test goofs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Apr 14, 2019
1 parent b3f3712 commit 33d0961
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gtk-osx-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export PIPENV_DOTENV_LOCATION="$DEVPREFIX/etc/pipenv-env"
export PIPENV_PIPFILE="$DEVPREFIX/etc/Pipfile"
export PATH="$PYENV_ROOT/shims:$DEVPREFIX/bin:$PYENV_INSTALL_ROOT/plugins/python-build/bin:$PATH"
export PYENV_ROOT
if -d "$SDKROOT"; then
if test -d "$SDKROOT"; then
export CFLAGS="-isysroot $SDKROOT -I$SDKROOT/usr/include"
fi
export PYTHON_CONFIGURE_OPTS="--enable-shared"
Expand Down Expand Up @@ -235,7 +235,9 @@ if test -z "$jhbuildrc_file" ; then
fi

if test -z "$JHBUILDRC_CUSTOM"; then
JHBUILDRC_CUSTOM="$config_dir/jhbuildrc-custom"
JHBUILDRC_CUSTOM="$config_dir/jhbuildrc-custom"
fi

if test ! -e "$JHBUILDRC_CUSTOM" -a ! -e $HOME/.jhbuildrc-custom; then
curl -ks $BASEURL/jhbuildrc-gtk-osx-custom-example -o $JHBUILDRC_CUSTOM
fi

0 comments on commit 33d0961

Please sign in to comment.