summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
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