diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-09 11:05:42 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-09 11:05:42 +0100 |
commit | 1fe00fd11dcc5a9912cd3d2cea92b0652cdb879c (patch) | |
tree | 917ee361cdb655bc92055250653e435454e4f53b | |
parent | 01c3a2db6f9fd9d49c7ed07ec38f534eec86309f (diff) |
getmock: improved for test repo
-rwxr-xr-x | getmock | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 |