xbps-src: do not overwrite PATH, just append it to the new one.

This commit is contained in:
Juan RP 2010-10-21 17:21:23 +02:00
parent f668f05060
commit b257ba41fc
1 changed files with 1 additions and 2 deletions

View File

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