summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct113
1 files changed, 7 insertions, 106 deletions
diff --git a/buildfct b/buildfct
index eeef6fa..ccad0a5 100644
--- a/buildfct
+++ b/buildfct
@@ -476,105 +476,6 @@ else
fi
}
-# Build All distribution / version / noarch for remi/remi-php56
-mock56n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 31 30
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (56) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- for i in 7 6
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo "$(date +%X) (56) el$i Ok." || echo "el$i Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / noarch for remi using PHP >= 7.0
-mock70n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 31 30
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (70) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- for i in 7 6
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x70 rebuild $1 && echo "$(date +%X) (70) el$i Ok." || echo "el$i Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
-# Build All distribution / version / noarch for remi using PHP >= 7.1
-mock71n()
-{
-quiet="--quiet"
-if [ "$1" = "-q" ]; then
- shift
-fi
-
-if [ -f "$1" ]; then
- date +%X
- pids=""
- for i in 31 30
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (71) fc$i Ok." || echo "fc$1 Error !")&
- pids="$pids $!"
- done
- for i in 7 6
- do
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el${i}x71 rebuild $1 && echo "$(date +%X) (71) el$i Ok." || echo "el$i Error !")&
- pids="$pids $!"
- done
- echo -n ""
- (mock $quiet --configdir=$mocketc -r el8x rebuild $1 && echo "$(date +%X) (72) el8 Ok." || echo "el8 Error !")&
- pids="$pids $!"
- wait $pids
- date +%X
-else
- echo "file not found '$1'"
-fi
-}
-
# Build All distribution / version / noarch for remi using PHP >= 7.2
mock72n()
{
@@ -586,7 +487,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 32 31 30
+ for i in 32 31 30 33
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
@@ -619,7 +520,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 32 31 30
+ for i in 32 31 30 33
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
@@ -885,7 +786,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 30 33
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !"
@@ -911,7 +812,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 30 33
do
echo -n "$(date +%X) scl73 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !"
@@ -937,7 +838,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30 32
+ for i in 31 30 32 33
do
echo -n "$(date +%X) scl72 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !"
@@ -989,7 +890,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 33 30
do
echo -n "$(date +%X) scl70 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !"
@@ -1015,7 +916,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30
+ for i in 31 32 30 33
do
echo -n "$(date +%X) scl56 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !"