diff options
-rw-r--r-- | buildfct | 90 |
1 files changed, 90 insertions, 0 deletions
@@ -152,6 +152,49 @@ else fi } +# Build All distribution (PHP 7) / version / 32bits for remi +mock7i() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 25 26 27 + 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 !" + done +else + echo "file not found p$1'" +fi +} + +# Build All distribution (PHP 5) / version / 32bits for remi +mock5i() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 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 !" + done + echo -n "$(date +%X) el6 " + setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !" + date +%X +else + echo "file not found p$1'" +fi +} + # Build All enterprise / version / 32bits for remi (php 5.4) mock54i() { @@ -321,6 +364,53 @@ else fi } +# Build All distribution (PHP 7) / version / 64bits for remi +mock7x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 25 26 27 + do + echo -n "$(date +%X) fc$i " + mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + +# Build All distribution (PHP 5) / version / 64bits for remi +mock5x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 24 + do + echo -n "$(date +%X) fc$i " + mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !" + done + for i in 7 6 + do + echo -n "$(date +%X) el$i " + mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + # Build enterprise / version / 64bits for remi (php 5.4) mock54x() { |