xbps-src/build.sh: sleep 1 second while running do-pkg.sh.

This will ensure that binpkg files do not have recorded the same mtime,
which is required in xbps to detect obsolete files properly.
This commit is contained in:
Juan RP 2015-04-02 09:09:12 +02:00
parent 38931a93b3
commit 48548f1983

View File

@ -75,6 +75,7 @@ done
# If install went ok generate the binpkgs. # If install went ok generate the binpkgs.
for subpkg in ${subpackages} ${sourcepkg}; do for subpkg in ${subpackages} ${sourcepkg}; do
$XBPS_LIBEXECDIR/xbps-src-dopkg.sh $subpkg "$XBPS_REPOSITORY" "$XBPS_CROSS_BUILD" || exit 1 $XBPS_LIBEXECDIR/xbps-src-dopkg.sh $subpkg "$XBPS_REPOSITORY" "$XBPS_CROSS_BUILD" || exit 1
sleep 1
done done
# pkg cleanup # pkg cleanup