xbps-src: do not hardlink with -t, it won't work (doh).

The reason is that pkgdb could be modified concurrently... not sure
what I was thinking when I added that.
This commit is contained in:
Juan RP 2015-02-28 08:34:21 +01:00
parent cda175e0d6
commit da2cd34bdb
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ create_temporary_masterdir() {
local tmpmdir=$(mktemp -d -q -p $XBPS_DISTDIR masterdir.XXXXXXXXX || exit 1)
echo "=> Creating a temporary masterdir at $tmpmdir, please wait..."
cp -al $XBPS_MASTERDIR/* $tmpmdir/
cp -a $XBPS_MASTERDIR/* $tmpmdir/
if [ $? -ne 0 ]; then
echo "ERROR: failed to setup temporary masterdir $tmpmdir!"
exit 1