From e575f44389755cc9e62ed346c064fde2f0bbd52c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Apr 2015 11:40:37 +0200 Subject: [PATCH] xbps-src: fix previous test for -t. --- xbps-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src b/xbps-src index e88593d734..f92b433f64 100755 --- a/xbps-src +++ b/xbps-src @@ -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