[gtk-osx: 35/48] Fix two if-test goofs.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx: 35/48] Fix two if-test goofs.
- Date: Tue, 14 May 2019 23:59:26 +0000 (UTC)
commit 33d0961c4eef8c4bff9165b95fc25d777cd4eaf9
Author: John Ralls <jralls ceridwen us>
Date: Sun Apr 14 11:30:40 2019 -0700
Fix two if-test goofs.
gtk-osx-setup.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk-osx-setup.sh b/gtk-osx-setup.sh
index 31a6ec6..091a5ac 100755
--- a/gtk-osx-setup.sh
+++ b/gtk-osx-setup.sh
@@ -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"
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]