diff options
author | Remi Collet <remi@remirepo.net> | 2020-12-15 08:33:37 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-12-15 08:33:37 +0100 |
commit | 76932345498566c95ca4b30ef683b1969dc8966c (patch) | |
tree | 58fdb5fde59452625a65ef8b0b05cc676761b968 /getmock | |
parent | 6b75727d76febbafb8c9ec996e14fb9a91616d9b (diff) |
cleanup
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 |