summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-20 16:46:19 +0100
committerRemi Collet <remi@php.net>2024-02-20 16:46:19 +0100
commite3e95172745029016853f1c8aec3121c196bfdb4 (patch)
tree7e120431469788265f2d2c149ed2a17d4cdd78de
parent5ed29f08e8a8314e567abc60c093d29d9a15dcea (diff)
cleanups
-rwxr-xr-xgetmock56
1 files changed, 10 insertions, 46 deletions
diff --git a/getmock b/getmock
index b01dfc3..d2a5173 100755
--- a/getmock
+++ b/getmock
@@ -543,50 +543,6 @@ elif [ $1 = all83 ]; then
getOneMock el9x83 $opt '*8.3*'
getOneMock el9a83 $opt '*8.3*'
-elif [ $1 = allfc39x ]; then
-
- getOneMock fc39x $opt
- getOneMock scl74fc39x $opt
- getOneMock scl80fc39x $opt
- getOneMock scl81fc39x $opt
- getOneMock scl82fc39x $opt
- getOneMock scl83fc39x $opt
- if [ $opt = test ]; then
- getOneMock fc39x74 test74 '*7.4*'
- getOneMock fc39x80 test80 '*8.0*'
- getOneMock fc39x81 test81 '*8.1*'
- getOneMock fc39x82 test82 '*8.2*'
- getOneMock fc39x83 test83 '*8.3*'
- else
- getOneMock fc39x74 php74 '*7.4*'
- getOneMock fc39x80 php80 '*8.0*'
- getOneMock fc39x81 php81 '*8.1*'
- getOneMock fc39x82 php83 '*8.2*'
- getOneMock fc39x83 php83 '*8.3*'
- fi
-
-elif [ $1 = allfc39a ]; then
-
- getOneMock fc39a $opt
- getOneMock scl74fc39a $opt
- getOneMock scl80fc39a $opt
- getOneMock scl81fc39a $opt
- getOneMock scl82fc39a $opt
- getOneMock scl83fc39a $opt
- if [ $opt = test ]; then
- getOneMock fc39a74 test74 '*7.4*'
- getOneMock fc39a80 test80 '*8.0*'
- getOneMock fc39a81 test81 '*8.1*'
- getOneMock fc39a82 test82 '*8.2*'
- getOneMock fc39a83 test83 '*8.3*'
- else
- getOneMock fc39a74 php74 '*7.4*'
- getOneMock fc39a80 php80 '*8.0*'
- getOneMock fc39a81 php81 '*8.1*'
- getOneMock fc39a82 php82 '*8.2*'
- getOneMock fc39a83 php83 '*8.3*'
- fi
-
elif [ $1 = allr60 ]; then
opt=remi
getOneMock el7x $opt '*6.0*'
@@ -726,6 +682,7 @@ elif [ $1 = scl83 ]; then
getOneMock scl83${i}x $opt
done
getOneMock scl83fc39a $opt
+ getOneMock scl83fc40a $opt
getOneMock scl83el8a $opt
getOneMock scl83el9a $opt
@@ -735,6 +692,7 @@ elif [ $1 = scl82 ]; then
getOneMock scl82fc${i}x $opt
done
getOneMock scl82fc39a $opt
+ getOneMock scl82fc40a $opt
for i in 7 8 9
do
getOneMock scl82el${i}x $opt
@@ -748,6 +706,7 @@ elif [ $1 = scl81 ]; then
getOneMock scl81fc${i}x $opt
done
getOneMock scl81fc39a $opt
+ getOneMock scl81fc40a $opt
for i in 7 8 9
do
getOneMock scl81el${i}x $opt
@@ -761,6 +720,7 @@ elif [ $1 = scl80 ]; then
getOneMock scl80fc${i}x $opt
done
getOneMock scl80fc39a $opt
+ getOneMock scl80fc40a $opt
for i in 7 8 9
do
getOneMock scl80el${i}x $opt
@@ -774,6 +734,7 @@ elif [ $1 = scl74 ]; then
getOneMock scl74fc${i}x $opt
done
getOneMock scl74fc39a $opt
+ getOneMock scl74fc40a $opt
for i in 7 8 9
do
getOneMock scl74el${i}x $opt
@@ -797,8 +758,11 @@ elif [ $1 = scl72 ]; then
elif [ $1 = allphp ]; then
- for i in scl74 scl80 scl81 scl82 scl83 all74 all80 all81 all82 all83
- do $0 $i
+ MOD="all70 all71 all72 all73 all74 all80 all81 all82 all83"
+ SCL="scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83"
+ for i in $SCL $MOD
+ do $0 $i $opt
+ echo -n "[enter] >"; read rep
done
else
for i in $*