summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgetmock14
1 files changed, 8 insertions, 6 deletions
diff --git a/getmock b/getmock
index 2328b86..94746e1 100755
--- a/getmock
+++ b/getmock
@@ -52,7 +52,7 @@ then
cible=$type/$dep/${2-remi}/
debug=$type/$dep/debug-${2-remi}/
else
- echo "$1 n'est pas un dépôt"
+ echo "$1 n'est pas un dépôt ($type/$dep/${2-remi})"
exit 2
fi
@@ -202,16 +202,18 @@ elif [ $1 = all56 ]; then
getOneMock el${n}x php56
elif [ $1 = all70 ]; then
+ [ $opt = remi ] && opt=php70
+ [ $opt = test ] && opt=test70
for n in 21 22 23
do
- getOneMock fc${n}i php70
- getOneMock fc${n}x php70
+ getOneMock fc${n}i $opt
+ getOneMock fc${n}x $opt
done
n=6
- getOneMock el${n}i php70
- getOneMock el${n}x php70
+ getOneMock el${n}i $opt
+ getOneMock el${n}x $opt
n=7
- getOneMock el${n}x php70
+ getOneMock el${n}x $opt
elif [ $1 = all54 ]; then
for n in 5 6