diff options
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 56 |
1 files changed, 46 insertions, 10 deletions
@@ -139,7 +139,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 24 + for i in 27 26 25 24 do echo -n "$(date +%X) fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -162,7 +162,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 + for i in 27 26 25 do echo -n "$(date +%X) fc$i " setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" @@ -348,7 +348,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 24 + for i in 27 26 25 24 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -374,7 +374,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 + for i in 27 26 25 do echo -n "$(date +%X) fc$i " mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" @@ -462,7 +462,7 @@ else fi } -# Build All distribution / version / noarch for remi/remi-php56 +# Build All distribution / version / noarch for remi using PHP >= 7.0 mock70n() { quiet="--quiet" @@ -498,6 +498,42 @@ else 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 27 26 + 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 25 24 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r fc${i}x71 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}x71 rebuild $1 && echo "$(date +%X) (70) el$i Ok." || echo "el$i Error !")& + pids="$pids $!" + done + wait $pids + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi/remi-php55 mock55x() { @@ -602,7 +638,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 + for i in 27 26 25 do echo -n "$(date +%X) 72 fc$i " mock $quiet --configdir=$mocketc -r fc${i}x72 rebuild $1 && echo " Ok." || echo " Error !" @@ -628,7 +664,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 24 27 + for i in 27 26 24 25 do echo -n "$(date +%X) scl72 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !" @@ -654,7 +690,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 24 + for i in 27 26 25 24 do echo -n "$(date +%X) scl71 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !" @@ -680,7 +716,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 26 27 24 + for i in 27 26 25 24 do echo -n "$(date +%X) scl70 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !" @@ -706,7 +742,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 25 24 26 27 + for i in 27 26 25 24 do echo -n "$(date +%X) scl56 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !" |