summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-15 09:57:46 +0100
committerRemi Collet <remi@php.net>2024-02-15 09:57:46 +0100
commit5ed29f08e8a8314e567abc60c093d29d9a15dcea (patch)
tree46b4e4d3b7504f413f0c14d2a34b8c4b07ccd1f0
parente2947a77f2c1d303eaaaee24df3af4ba4b502238 (diff)
F40 SCL helpers
-rw-r--r--buildfct10
-rwxr-xr-xgetmock31
2 files changed, 23 insertions, 18 deletions
diff --git a/buildfct b/buildfct
index 530b0bd..c175cb0 100644
--- a/buildfct
+++ b/buildfct
@@ -611,7 +611,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38
+ for i in 39 38 40
do
echo -n "$(date +%X) scl83 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -637,7 +637,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38
+ for i in 39 40 38
do
echo -n "$(date +%X) scl82 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -663,7 +663,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38
+ for i in 39 38 40
do
echo -n "$(date +%X) scl81 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -939,7 +939,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38
+ for i in 39 40 38
do
echo -n "$(date +%X) scl80 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -965,7 +965,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 39 38
+ for i in 40 39 38
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !"
diff --git a/getmock b/getmock
index 88b385b..b01dfc3 100755
--- a/getmock
+++ b/getmock
@@ -720,8 +720,17 @@ elif [ $1 = scl71 ]; then
getOneMock scl71el${i}x $opt
done
+elif [ $1 = scl83 ]; then
+ for i in fc38 fc39 fc40 el7 el8 el9
+ do
+ getOneMock scl83${i}x $opt
+ done
+ getOneMock scl83fc39a $opt
+ getOneMock scl83el8a $opt
+ getOneMock scl83el9a $opt
+
elif [ $1 = scl82 ]; then
- for i in 38 39
+ for i in 38 39 40
do
getOneMock scl82fc${i}x $opt
done
@@ -733,17 +742,8 @@ elif [ $1 = scl82 ]; then
getOneMock scl82el8a $opt
getOneMock scl82el9a $opt
-elif [ $1 = scl83 ]; then
- for i in fc38 fc39 el7 el8 el9
- do
- getOneMock scl83${i}x $opt
- done
- getOneMock scl83fc39a $opt
- getOneMock scl83el8a $opt
- getOneMock scl83el9a $opt
-
elif [ $1 = scl81 ]; then
- for i in 38 39
+ for i in 38 39 40
do
getOneMock scl81fc${i}x $opt
done
@@ -756,7 +756,7 @@ elif [ $1 = scl81 ]; then
getOneMock scl81el9a $opt
elif [ $1 = scl80 ]; then
- for i in 38 39
+ for i in 38 39 40
do
getOneMock scl80fc${i}x $opt
done
@@ -769,7 +769,7 @@ elif [ $1 = scl80 ]; then
getOneMock scl80el9a $opt
elif [ $1 = scl74 ]; then
- for i in 38 39
+ for i in 38 39 40
do
getOneMock scl74fc${i}x $opt
done
@@ -795,6 +795,11 @@ elif [ $1 = scl72 ]; then
done
getOneMock scl72el8a $opt
+elif [ $1 = allphp ]; then
+
+ for i in scl74 scl80 scl81 scl82 scl83 all74 all80 all81 all82 all83
+ do $0 $i
+ done
else
for i in $*
do