[gtk-osx: 38/48] Fix script name documentation, python version test for pip and missing quotes.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx: 38/48] Fix script name documentation, python version test for pip and missing quotes.
- Date: Tue, 14 May 2019 23:59:41 +0000 (UTC)
commit b2ed87fc0f506a66772245183b73f34443dbeb8a
Author: Blady <blady net orange fr>
Date: Wed Apr 17 16:26:08 2019 +0200
Fix script name documentation, python version test for pip and missing quotes.
gtk-osx-setup.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk-osx-setup.sh b/gtk-osx-setup.sh
old mode 100755
new mode 100644
index 091a5ac..2fe167d
--- a/gtk-osx-setup.sh
+++ b/gtk-osx-setup.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
####################################################################
- # new-setup.sh gtk-osx setup with python virtual environments. #
+ # gtk-osx-setup.sh: gtk-osx setup with python virtual environments.#
# #
# Copyright 2018 John Ralls <jralls ceridwen us> #
# #
@@ -85,7 +85,7 @@ fi
PIP=`which pip`
if test ! -x "`eval echo $PIP`" ; then
mv=`python --version 2>&1 | cut -b 12-13`
- if test $mv -lt 9 ; then
+ if test $mv -lt 11 ; then
curl https://bootstrap.pypa.io/get-pip.py -o "$DEVPREFIX/get-pip.py"
python "$DEVPREFIX/get-pip.py" --user
rm "$DEVPREFIX/get-pip.py"
@@ -238,6 +238,6 @@ if test -z "$JHBUILDRC_CUSTOM"; then
JHBUILDRC_CUSTOM="$config_dir/jhbuildrc-custom"
fi
-if test ! -e "$JHBUILDRC_CUSTOM" -a ! -e $HOME/.jhbuildrc-custom; then
+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]