xbps-src: make sure XBPS_CONFIG_FILE is set.

This commit is contained in:
Juan RP 2014-07-01 13:15:46 +02:00
parent 14776952c3
commit e64f3d8a95
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ XBPS_CPPFLAGS="$XBPS_CPPFLAGS"
XBPS_LDFLAGS="$XBPS_LDFLAGS"
XBPS_HOSTDIR=/host
_EOF
if [ -e $XBPS_CONFIG_FILE ]; then
if [ -n "$XBPS_CONFIG_FILE" -a -e $XBPS_CONFIG_FILE ]; then
grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF
fi