diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-10-02 18:32:58 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-10-02 18:32:58 +0200 |
commit | 15f057116e66c1ee33f8856e6b6478f09906b323 (patch) | |
tree | 18c61dfeef43abe16fb7e9553c08fedd021d5e41 /buildfct | |
parent | 8a8deef0bdeb98c69274f5614c560c9bbd775f23 (diff) |
add helper for php56 noach packages
Diffstat (limited to 'buildfct')
-rw-r--r-- | buildfct | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -407,6 +407,43 @@ else fi } +# Build All distribution / version / noarch for remi/remi-php56 +mock56t() +{ +quiet="--quiet" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + date +%X + pids="" + for i in 21 22 23 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r fc${i}xt rebuild $1 && echo "$(date +%X) (56) fc$i Ok." || echo "fc$1 Error !")& + pids="$pids $!" + done + for i in 20 19 + do + echo -n "" + (mock $quiet --configdir=$mocketc -r fc${i}t56 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 !")& + pids="$pids $!" + done + wait $pids + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi/remi-php55 mock55x() { |