xbps-src: do not overwrite PATH, just append it to the new one.
This commit is contained in:
parent
f668f05060
commit
b257ba41fc
1 changed files with 1 additions and 2 deletions
|
@ -255,8 +255,7 @@ fi
|
|||
#
|
||||
if [ -z "$in_chroot" ]; then
|
||||
# In non chroot case always prefer host tools.
|
||||
MYPATH="/bin:/usr/bin:/sbin:/usr/sbin:$MYPATH"
|
||||
MYPATH="$XBPS_MASTERDIR/bin:$XBPS_MASTERDIR/usr/bin:$MYPATH"
|
||||
MYPATH="$XBPS_MASTERDIR/bin:$XBPS_MASTERDIR/usr/bin:$PATH"
|
||||
MYPATH="$XBPS_MASTERDIR/usr/local/bin:$MYPATH"
|
||||
MYPATH="$XBPS_MASTERDIR/usr/local/sbin:$MYPATH"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue