xbps-src: fix previous test for -t.

This commit is contained in:
Juan RP 2015-04-16 11:40:37 +02:00
parent f09798e802
commit e575f44389

View file

@ -511,7 +511,7 @@ done
# A temporary masterdir requires xbps-uchroot(8) and -O to use overlayfs
# on tmpfs (available with xbps-0.45).
if [ -n "$XBPS_TEMP_MASTERDIR" ]; then
if [ -z "$IN_CHROOT" -a -n "$XBPS_TEMP_MASTERDIR" ]; then
if [ "$XBPS_CHROOT_CMD" != "uchroot" ]; then
echo "ERROR: -t requires XBPS_CHROOT_CMD=uchroot, exiting..."
exit 1