summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-18 14:16:35 +0200
committerRemi Collet <remi@php.net>2023-09-18 14:16:35 +0200
commitd73e8229ef941ee99160406651eb31182740bc0c (patch)
tree8af88b4df5e45f1902a69fc121a44f07a8465a75
parentaa70945a5eb469847a54fe30b6cfb50472cb60ce (diff)
use --uniqueext with mock 5.1
-rwxr-xr-xmockit4
1 files changed, 2 insertions, 2 deletions
diff --git a/mockit b/mockit
index 4e765c8..dd5000b 100755
--- a/mockit
+++ b/mockit
@@ -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