xbps-src: set XBPS_HOSTDIR correctly for chroot ops.

This commit is contained in:
Juan RP 2014-06-30 12:03:56 +02:00
parent a5e726c4ec
commit 67947330cc

View file

@ -10,6 +10,7 @@ XBPS_CFLAGS="$XBPS_CFLAGS"
XBPS_CXXFLAGS="$XBPS_CXXFLAGS"
XBPS_CPPFLAGS="$XBPS_CPPFLAGS"
XBPS_LDFLAGS="$XBPS_LDFLAGS"
XBPS_HOSTDIR=/host
_EOF
if [ -e $XBPS_CONFIG_FILE ]; then
grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF