diff options
Diffstat (limited to 'getmock')
-rwxr-xr-x | getmock | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -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 |