From b469f1d590f174399aefca85e23039d1dc490685 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 27 Oct 2019 12:14:24 +0100 Subject: [PATCH] xbps-src/chroot.sh: initialize XBPS_CONFIG_FILE. Fixes #15208 --- common/xbps-src/shutils/chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index a946fd1acfb..b880d4151d2 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -5,6 +5,7 @@ chroot_init() { mkdir -p $XBPS_MASTERDIR/etc/xbps + : ${XBPS_CONFIG_FILE=/dev/null} cat > $XBPS_MASTERDIR/etc/xbps/xbps-src.conf <<_EOF # Generated configuration file by xbps-src, DO NOT EDIT! $(grep -E '^XBPS_.*' "$XBPS_CONFIG_FILE")