summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-11 15:03:11 +0200
committerRemi Collet <remi@remirepo.net>2020-09-11 15:03:11 +0200
commit8d0d962447602473ab36ad8bfb5c78ad09a78de9 (patch)
tree66499bc3b7d054b39dcc7146e4a7261558d6d808 /getmock
parent3b4d4a7407bd5cface36ae23bb9c1eaafb7bb80c (diff)
build helper for php 8
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock40
1 files changed, 24 insertions, 16 deletions
diff --git a/getmock b/getmock
index d779abf..9878657 100755
--- a/getmock
+++ b/getmock
@@ -72,6 +72,16 @@ el8x74)
fi
type=enterprise
;;
+el8x80)
+ dep=8
+ if [ "$2" == "php80" -o "$2" == "test80" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php80
+ else rep=${2}80
+ fi
+ type=enterprise
+ ;;
el*) dep=${dep#el}
type=enterprise
;;
@@ -283,10 +293,6 @@ if [ $1 = devs -o $1 = dev ]; then
fi
if [ $1 = all ]; then
- for i in 30
- do
- getOneMock fc${i}i $opt
- done
for i in 6
do
getOneMock el${i}i $opt
@@ -348,11 +354,13 @@ elif [ $1 = all73 ]; then
elif [ $1 = all74 ]; then
[ $opt = remi ] && opt=php74
[ $opt = test ] && opt=test74
- for n in 30
- do
- getOneMock fc${n}i $opt '*7.4*'
- getOneMock fc${n}x $opt '*7.4*'
- done
+ getOneMock fc31x $opt '*7.4*'
+ getOneMock el7x $opt '*7.4*'
+ getOneMock el8x74 $opt '*7.4*'
+
+elif [ $1 = all80 ]; then
+ [ $opt = remi ] && opt=php74
+ [ $opt = test ] && opt=test74
getOneMock fc31x $opt '*7.4*'
getOneMock el7x $opt '*7.4*'
getOneMock el8x74 $opt '*7.4*'
@@ -379,7 +387,7 @@ elif [ $1 = for55 ]; then
done
elif [ $1 = allx ]; then
- for i in 30 31 32 33
+ for i in 31 32 33
do
getOneMock fc${i}x $opt
done
@@ -401,7 +409,7 @@ elif [ $1 = scl55 ]; then
done
elif [ $1 = scl56 ]; then
- for i in 33 30 31 32
+ for i in 33 31 32
do
getOneMock scl56fc${i}x $opt
done
@@ -411,7 +419,7 @@ elif [ $1 = scl56 ]; then
done
elif [ $1 = scl70 ]; then
- for i in 30 31 32 33
+ for i in 31 32 33
do
getOneMock scl70fc${i}x $opt
done
@@ -421,7 +429,7 @@ elif [ $1 = scl70 ]; then
done
elif [ $1 = scl71 ]; then
- for i in 30 31 32 33
+ for i in 31 32 33
do
getOneMock scl71fc${i}x $opt
done
@@ -441,7 +449,7 @@ elif [ $1 = scl80 ]; then
done
elif [ $1 = scl74 ]; then
- for i in 30 31 32 33
+ for i in 31 32 33
do
getOneMock scl74fc${i}x $opt
done
@@ -451,7 +459,7 @@ elif [ $1 = scl74 ]; then
done
elif [ $1 = scl73 ]; then
- for i in 30 31 32 33
+ for i in 31 32 33
do
getOneMock scl73fc${i}x $opt
done
@@ -461,7 +469,7 @@ elif [ $1 = scl73 ]; then
done
elif [ $1 = scl72 ]; then
- for i in 30 31 32 33
+ for i in 31 32 33
do
getOneMock scl72fc${i}x $opt
done