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:
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)
|
local tmpmdir=$(mktemp -d -q -p $XBPS_DISTDIR masterdir.XXXXXXXXX || exit 1)
|
||||||
|
|
||||||
echo "=> Creating a temporary masterdir at $tmpmdir, please wait..."
|
echo "=> Creating a temporary masterdir at $tmpmdir, please wait..."
|
||||||
cp -al $XBPS_MASTERDIR/* $tmpmdir/
|
cp -a $XBPS_MASTERDIR/* $tmpmdir/
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: failed to setup temporary masterdir $tmpmdir!"
|
echo "ERROR: failed to setup temporary masterdir $tmpmdir!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user