xbps-src: do not overwrite PATH, just append it to the new one.
This commit is contained in:
parent
f668f05060
commit
b257ba41fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue