xbps-src: for src bootstrap case, append our PATH to existent PATH.

This commit is contained in:
Juan RP 2011-10-24 22:15:01 +02:00
parent 777e051099
commit 34b6c2c391
1 changed files with 2 additions and 2 deletions

View File

@ -315,8 +315,8 @@ fi
if [ -z "$IN_CHROOT" ]; then
# In non chroot case always prefer host tools.
MYPATH="$PATH:$XBPS_MASTERDIR/bin:$XBPS_MASTERDIR/usr/bin"
MYPATH="$XBPS_MASTERDIR/usr/local/bin:$MYPATH"
MYPATH="$XBPS_MASTERDIR/usr/local/sbin:$MYPATH"
MYPATH="$MYPATH:$XBPS_MASTERDIR/usr/local/bin"
MYPATH="$MYPATH:$XBPS_MASTERDIR/usr/local/sbin"
else
if [ -n "$XBPS_CCACHE" ]; then
CCACHEPATH="/usr/lib/ccache/bin"