diff options
-rw-r--r-- | buildfct | 12 | ||||
-rwxr-xr-x | getmock | 27 |
2 files changed, 27 insertions, 12 deletions
@@ -377,7 +377,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 41 40 + for i in 42 41 40 do echo -n "$(date +%X) scl84 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl84 rebuild "$@" && echo " Ok." || echo " Error !" @@ -403,7 +403,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 41 40 + for i in 41 42 40 do echo -n "$(date +%X) scl83 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !" @@ -429,7 +429,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 41 40 + for i in 41 40 42 do echo -n "$(date +%X) scl82 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !" @@ -455,7 +455,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 41 40 + for i in 42 41 40 do echo -n "$(date +%X) scl81 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !" @@ -712,7 +712,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 41 40 + for i in 41 42 40 do echo -n "$(date +%X) scl80 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !" @@ -738,7 +738,7 @@ if [ "$1" = "-q" ]; then fi if [ -f "$1" ]; then - for i in 41 40 + for i in 41 40 42 do echo -n "$(date +%X) scl74 fc$i " mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !" @@ -648,6 +648,8 @@ elif [ $1 = allm ]; then getOneMock el8a $opt '*1.6*' getOneMock fc41x $opt '*1.6*' getOneMock fc41a $opt '*1.6*' + getOneMock fc42x $opt '*1.6*' + getOneMock fc42a $opt '*1.6*' opt=memcached getOneMock fc40x $opt '*1.6*' getOneMock fc40a $opt '*1.6*' @@ -695,42 +697,42 @@ elif [ $1 = scl71 ]; then done elif [ $1 = scl84 ]; then - for dis in fc40 fc41 el8 el9 el10 + for dis in fc40 fc41 fc42 el8 el9 el10 do getOneMock scl84${dis}x $opt getOneMock scl84${dis}a $opt done elif [ $1 = scl83 ]; then - for dis in fc40 fc41 el8 el9 el10 + for dis in fc40 fc41 fc42 el8 el9 el10 do getOneMock scl83${dis}x $opt getOneMock scl83${dis}a $opt done elif [ $1 = scl82 ]; then - for dis in fc40 fc41 el8 el9 el10 + for dis in fc40 fc41 fc42 el8 el9 el10 do getOneMock scl82${dis}x $opt getOneMock scl82${dis}a $opt done elif [ $1 = scl81 ]; then - for dis in fc40 fc41 el8 el9 el10 + for dis in fc40 fc41 fc42 el8 el9 el10 do getOneMock scl81${dis}x $opt getOneMock scl81${dis}a $opt done elif [ $1 = scl80 ]; then - for dis in fc40 fc41 el8 el9 el10 + for dis in fc42 fc40 fc41 el8 el9 el10 do getOneMock scl80${dis}x $opt getOneMock scl80${dis}a $opt done elif [ $1 = scl74 ]; then - for dis in fc40 fc41 el8 el9 el10 + for dis in fc42 fc40 fc41 el8 el9 el10 do getOneMock scl74${dis}x $opt getOneMock scl74${dis}a $opt @@ -762,6 +764,19 @@ elif [ $1 = allphp ]; then fi done rm -f $LOG +elif [ $1 = all42 ]; then + LOG=$(mktemp out.XXXXXXXXXX) + MOD="74 80 81 82 83 84" + for v in $MOD; do + for i in fc42x${v} fc42a${v} scl${v}fc42x scl${v}fc42a; do + $0 $opt $i | tee $LOG + if grep -q '64\.rpm' $LOG && grep -q 'pas un dossier mock' $LOG + then + echo -en "\n> $i - [enter] >"; read rep + fi + done + done + rm -f $LOG else for i in $* do |