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:
parent
cda175e0d6
commit
da2cd34bdb
2
xbps-src
2
xbps-src
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue