diff options
author | Remi Collet <remi@remirepo.net> | 2023-09-18 14:16:35 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-09-18 14:16:35 +0200 |
commit | d73e8229ef941ee99160406651eb31182740bc0c (patch) | |
tree | 8af88b4df5e45f1902a69fc121a44f07a8465a75 /mockit | |
parent | aa70945a5eb469847a54fe30b6cfb50472cb60ce (diff) |
use --uniqueext with mock 5.1
Diffstat (limited to 'mockit')
-rwxr-xr-x | mockit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,14 +78,14 @@ esac do if [ 0$i -ge $MIN -a 0$i -le $MAX ]; then echo -n "$(date +%X) $i " - flock /tmp/build_${DIST}${i}.lock mock -q --configdir=$mocketc -r ${DIST}${i} rebuild $SRPM "$@" && echo " Ok." || echo " Error !" + mock -q --configdir=$mocketc --uniqueext=$(uuidgen) -r ${DIST}${i} rebuild $SRPM "$@" && echo " Ok." || echo " Error !" fi done [ $BUILD_SCLS -ge 1 ] && for i in $SCL do if [ 0$i -ge $MIN -a 0$i -le $MAX ]; then echo -n "$(date +%X) scl$i " - flock /tmp/build_${DIST}scl${i}.lock mock -q --configdir=$mocketc -r ${DIST}scl${i} rebuild $SRPM "$@" && echo " Ok." || echo " Error !" + mock -q --configdir=$mocketc --uniqueext=$(uuidgen) -r ${DIST}scl${i} rebuild $SRPM "$@" && echo " Ok." || echo " Error !" fi done date +%X |