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
1 changed files with 1 additions and 0 deletions

View File

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