xbps-src: prefer host utils in non-chroot case for bootstrap.

This commit is contained in:
Juan RP 2011-07-11 13:12:27 +02:00
parent becde060a4
commit f74a9b34a6

View file

@ -306,7 +306,7 @@ fi
#
if [ -z "$IN_CHROOT" ]; then
# In non chroot case always prefer host tools.
MYPATH="$XBPS_MASTERDIR/bin:$XBPS_MASTERDIR/usr/bin:$PATH"
MYPATH="$PATH:$XBPS_MASTERDIR/bin:$XBPS_MASTERDIR/usr/bin"
MYPATH="$XBPS_MASTERDIR/usr/local/bin:$MYPATH"
MYPATH="$XBPS_MASTERDIR/usr/local/sbin:$MYPATH"
else