xbps-src/chroot.sh: initialize XBPS_CONFIG_FILE.

Fixes #15208
This commit is contained in:
Juan RP 2019-10-27 12:14:24 +01:00
parent b9b51145bb
commit b469f1d590
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
1 changed files with 1 additions and 0 deletions

View File

@ -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")