xbps-src: fix previous test for -t.
This commit is contained in:
parent
f09798e802
commit
e575f44389
1 changed files with 1 additions and 1 deletions
2
xbps-src
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue