summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-12-15 08:33:37 +0100
committerRemi Collet <remi@remirepo.net>2020-12-15 08:33:37 +0100
commit76932345498566c95ca4b30ef683b1969dc8966c (patch)
tree58fdb5fde59452625a65ef8b0b05cc676761b968 /getmock
parent6b75727d76febbafb8c9ec996e14fb9a91616d9b (diff)
cleanup
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock18
1 files changed, 5 insertions, 13 deletions
diff --git a/getmock b/getmock
index 8f71008..4ba8653 100755
--- a/getmock
+++ b/getmock
@@ -267,23 +267,15 @@ if [ $1 = php73 ]; then
opt=php73
shift
fi
-if [ $1 = glpi91 ]; then
- opt=glpi91
- shift
-fi
-if [ $1 = glpi92 ]; then
- opt=glpi92
- shift
-fi
-if [ $1 = glpi93 ]; then
- opt=glpi93
+if [[ $1 == glpi* ]]; then
+ opt=$1
shift
fi
-if [ $1 = glpi94 ]; then
- opt=glpi94
+if [[ $1 == redis* ]]; then
+ opt=$1
shift
fi
-if [ $1 = redis50 -o $1 = redis60 -o $1 = composer1 -o $1 = composer2 ]; then
+if [[ $1 == composer* ]]; then
opt=$1
shift
fi