Fixed CI scripts for PetitParser.
--- a/ci/ci-pharo-benchmark.sh Mon Nov 09 00:38:23 2015 +0000
+++ b/ci/ci-pharo-benchmark.sh Mon Nov 09 00:38:23 2015 +0000
@@ -4,7 +4,7 @@
#
set -e
-if test -x "ci-pharo-common.sh"; then
+if [ ! -x "ci-pharo-common.sh" ]; then
wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-pharo-common.sh
fi
. ci-pharo-common.sh
--- a/ci/ci-pharo-common.sh Mon Nov 09 00:38:23 2015 +0000
+++ b/ci/ci-pharo-common.sh Mon Nov 09 00:38:23 2015 +0000
@@ -2,8 +2,8 @@
# A set of functions to be used in PetitParser's Pharo CI jobs
#
-if test -x "ci-common.sh"; then
- echo wget -O "ci-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-common.sh
+if [ ! -x "ci-common.sh" ]; then
+ wget -O "ci-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-common.sh
fi
. ci-common.sh
--- a/ci/ci-pharo-test.sh Mon Nov 09 00:38:23 2015 +0000
+++ b/ci/ci-pharo-test.sh Mon Nov 09 00:38:23 2015 +0000
@@ -4,8 +4,8 @@
#
set -e
-if test -x "ci-pharo-common.sh"; then
- echo wget -O "ci-pharo-common.sh" fail-here
+if [ ! -x "ci-pharo-common.sh" ]; then
+ wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-pharo-common.sh
fi
. ci-pharo-common.sh