summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-02-24 17:34:36 +0100
committerRemi Collet <remi@remirepo.net>2021-02-24 17:34:36 +0100
commit49bbb3f12f2b2860b715defb24013fa328e26d88 (patch)
tree5fc2bea6169b89571d565b2aa14a95b65259e762 /getmock
parent4f6a63efbd9fe2a8e6828b9861a89f6be5bea2fb (diff)
F34 helpers
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock43
1 files changed, 11 insertions, 32 deletions
diff --git a/getmock b/getmock
index 4ba8653..680fb77 100755
--- a/getmock
+++ b/getmock
@@ -243,28 +243,8 @@ if [ $1 = test72 ]; then
opt=test72
shift
fi
-if [ $1 = php55 ]; then
- opt=php55
- shift
-fi
-if [ $1 = php56 ]; then
- opt=php56
- shift
-fi
-if [ $1 = php70 ]; then
- opt=php70
- shift
-fi
-if [ $1 = php71 ]; then
- opt=php71
- shift
-fi
-if [ $1 = php72 ]; then
- opt=php72
- shift
-fi
-if [ $1 = php73 ]; then
- opt=php73
+if [[ $1 = php* ]]; then
+ opt=$i
shift
fi
if [[ $1 == glpi* ]]; then
@@ -319,16 +299,15 @@ elif [ $1 = all73 ]; then
elif [ $1 = all74 ]; then
[ $opt = remi ] && opt=php74
[ $opt = test ] && opt=test74
- getOneMock fc31x $opt '*7.4*'
getOneMock el7x $opt '*7.4*'
getOneMock el8x74 $opt '*7.4*'
elif [ $1 = all80 ]; then
[ $opt = remi ] && opt=php80
[ $opt = test ] && opt=test80
- getOneMock fc31x $opt '*8.0*'
getOneMock fc32x $opt '*8.0*'
getOneMock fc33x $opt '*8.0*'
+ getOneMock fc34x $opt '*8.0*'
getOneMock el7x $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
@@ -349,7 +328,7 @@ elif [ $1 = for55 ]; then
done
elif [ $1 = allx ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock fc${i}x $opt
done
@@ -371,7 +350,7 @@ elif [ $1 = scl55 ]; then
done
elif [ $1 = scl56 ]; then
- for i in 33 31 32
+ for i in 32 33 34
do
getOneMock scl56fc${i}x $opt
done
@@ -381,7 +360,7 @@ elif [ $1 = scl56 ]; then
done
elif [ $1 = scl70 ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock scl70fc${i}x $opt
done
@@ -391,7 +370,7 @@ elif [ $1 = scl70 ]; then
done
elif [ $1 = scl71 ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock scl71fc${i}x $opt
done
@@ -401,7 +380,7 @@ elif [ $1 = scl71 ]; then
done
elif [ $1 = scl80 ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock scl80fc${i}x $opt
done
@@ -411,7 +390,7 @@ elif [ $1 = scl80 ]; then
done
elif [ $1 = scl74 ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock scl74fc${i}x $opt
done
@@ -421,7 +400,7 @@ elif [ $1 = scl74 ]; then
done
elif [ $1 = scl73 ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock scl73fc${i}x $opt
done
@@ -431,7 +410,7 @@ elif [ $1 = scl73 ]; then
done
elif [ $1 = scl72 ]; then
- for i in 31 32 33
+ for i in 32 33 34
do
getOneMock scl72fc${i}x $opt
done