diff options
Diffstat (limited to 'getmock')
-rwxr-xr-x | getmock | 54 |
1 files changed, 11 insertions, 43 deletions
@@ -292,62 +292,35 @@ if [ $1 = devs -o $1 = dev ]; then shift fi -if [ $1 = all ]; then - for i in 6 - do - getOneMock el${i}i $opt - done -elif [ $1 = all55 ]; then - for n in 6 - do - getOneMock el${n}i php55 '*5.5*' - getOneMock el${n}x php55 '*5.5*' - done +if [ $1 = all55 ]; then n=7 getOneMock el${n}x php55 '*5.5*' elif [ $1 = all56 ]; then - for n in 6 - do - getOneMock el${n}i php56 '*5.6*' - getOneMock el${n}x php56 '*5.6*' - done n=7 getOneMock el${n}x php56 '*5.6*' elif [ $1 = all70 ]; then [ $opt = remi ] && opt=php70 [ $opt = test ] && opt=test70 - n=6 - getOneMock el${n}i $opt '*7.0*' - getOneMock el${n}x $opt '*7.0*' n=7 getOneMock el${n}x $opt '*7.0*' elif [ $1 = all71 ]; then [ $opt = remi ] && opt=php71 [ $opt = test ] && opt=test71 - n=6 - getOneMock el${n}i $opt '*7.1*' - getOneMock el${n}x $opt '*7.1*' n=7 getOneMock el${n}x $opt '*7.1*' elif [ $1 = all72 ]; then [ $opt = remi ] && opt=php72 [ $opt = test ] && opt=test72 - n=6 - getOneMock el${n}i $opt '*7.2*' - getOneMock el${n}x $opt '*7.2*' getOneMock el7x $opt '*7.2*' getOneMock el8x72 $opt '*7.2*' elif [ $1 = all73 ]; then [ $opt = remi ] && opt=php73 [ $opt = test ] && opt=test73 - n=6 - getOneMock el${n}i $opt '*7.3*' - getOneMock el${n}x $opt '*7.3*' getOneMock el7x $opt '*7.3*' getOneMock el8x73 $opt '*7.3*' @@ -368,22 +341,17 @@ elif [ $1 = all80 ]; then getOneMock el8x80 $opt '*8.0*' elif [ $1 = all54 ]; then - for n in 6 - do - getOneMock el${n}i remi '*5.4*' - getOneMock el${n}x remi '*5.4*' - done n=7 getOneMock el${n}x remi '*5.4*' elif [ $1 = for56 ]; then - for i in 6 7 + for i in 7 do getOneMock el${i}x test done elif [ $1 = for55 ]; then - for i in 6 7 + for i in 7 do getOneMock el${i}x test done @@ -393,19 +361,19 @@ elif [ $1 = allx ]; then do getOneMock fc${i}x $opt done - for i in 6 7 8 + for i in 7 8 do getOneMock el${i}x $opt done elif [ $1 = scl54 ]; then - for i in 6 7 + for i in 7 do getOneMock scl54el${i}x $opt done elif [ $1 = scl55 ]; then - for i in 6 7 + for i in 7 do getOneMock scl55el${i}x $opt done @@ -415,7 +383,7 @@ elif [ $1 = scl56 ]; then do getOneMock scl56fc${i}x $opt done - for i in 6 7 8 + for i in 7 8 do getOneMock scl56el${i}x $opt done @@ -425,7 +393,7 @@ elif [ $1 = scl70 ]; then do getOneMock scl70fc${i}x $opt done - for i in 6 7 8 + for i in 7 8 do getOneMock scl70el${i}x $opt done @@ -435,7 +403,7 @@ elif [ $1 = scl71 ]; then do getOneMock scl71fc${i}x $opt done - for i in 6 7 8 + for i in 7 8 do getOneMock scl71el${i}x $opt done @@ -465,7 +433,7 @@ elif [ $1 = scl73 ]; then do getOneMock scl73fc${i}x $opt done - for i in 6 7 8 + for i in 7 8 do getOneMock scl73el${i}x $opt done @@ -475,7 +443,7 @@ elif [ $1 = scl72 ]; then do getOneMock scl72fc${i}x $opt done - for i in 6 7 8 + for i in 7 8 do getOneMock scl72el${i}x $opt done |