diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-01-06 13:35:13 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-01-06 13:35:13 +0100 |
commit | 12aa58d88496f6b8cdd43257b3d4cf1cacb3bb6d (patch) | |
tree | 86de99767172a76722b50cf6e5de55af57b2ca14 /buildfct | |
parent | 89fe735fe09c613474379e928c4308375382f6c9 (diff) |
php-twig2: 2.0.0 (new package)
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 43 |
1 files changed, 39 insertions, 4 deletions
@@ -306,11 +306,10 @@ fi } # Build All distribution / version / noarch for remi/remi-php56 -mock56t() +mock56n() { quiet="--quiet" if [ "$1" = "-q" ]; then - quiet="--quiet" shift fi @@ -320,13 +319,49 @@ if [ -f "$1" ]; then for i in 25 24 23 22 do echo -n "" - (mock $quiet --configdir=$mocketc -r fc${i}xt rebuild $1 && echo "$(date +%X) (56) fc$i Ok." || echo "fc$1 Error !")& + (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 5 do echo -n "" - (mock $quiet --configdir=$mocketc -r el${i}t56 rebuild $1 && echo "$(date +%X) (56) el$i Ok." || echo "el$i Error !")& + (mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo "$(date +%X) (56) 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 / noarch for remi/remi-php56 +mock70n() +{ +quiet="--quiet" +if [ "$1" = "-q" ]; then + shift +fi + +if [ -f "$1" ]; then + date +%X + pids="" + for i in 25 + 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 24 23 22 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r fc${i}x70 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 wait $pids |