xbps-src: relax check for writable hostdir.

buildbot does not like it.
This commit is contained in:
Juan RP
2019-07-10 20:30:18 +02:00
parent 4165f0b8d5
commit 818d2d59cd

View File

@@ -503,9 +503,6 @@ fi
if [ -d "$XBPS_MASTERDIR" -a ! -w "$XBPS_MASTERDIR" ]; then
echo "ERROR: can't write to masterdir $XBPS_MASTERDIR."
exit 1
elif [ -d "$XBPS_HOSTDIR" -a ! -w "$XBPS_HOSTDIR" ]; then
echo "ERROR: can't write to hostdir: $XBPS_HOSTDIR."
exit 1
fi
# Try using chroot-git then git from the host system