summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-09 11:05:42 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-09 11:05:42 +0100
commit1fe00fd11dcc5a9912cd3d2cea92b0652cdb879c (patch)
tree917ee361cdb655bc92055250653e435454e4f53b /getmock
parent01c3a2db6f9fd9d49c7ed07ec38f534eec86309f (diff)
getmock: improved for test repo
Diffstat (limited to 'getmock')
-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