xbps-src: redo PATH to use correct paths for xbps, and ccache.
This commit is contained in:
parent
64cae7bf75
commit
1ebd495d9c
|
@ -250,8 +250,8 @@ if [ -z "$in_chroot" ]; then
|
||||||
MYPATH="$XBPS_MASTERDIR/usr/local/sbin:$MYPATH"
|
MYPATH="$XBPS_MASTERDIR/usr/local/sbin:$MYPATH"
|
||||||
else
|
else
|
||||||
# In chroot always prefer tools from bootstrap.
|
# In chroot always prefer tools from bootstrap.
|
||||||
MYPATH="/tools/bin:/usr/local/sbin:/usr/local/bin"
|
MYPATH="/usr/lib/ccache:/tools/bin:/usr/local/sbin:/usr/local/bin"
|
||||||
MYPATH="/bin:/sbin:/usr/bin:/usr/sbin:$MYPATH"
|
MYPATH="$MYPATH:/bin:/sbin:/usr/bin:/usr/sbin"
|
||||||
fi
|
fi
|
||||||
export PATH="$MYPATH"
|
export PATH="$MYPATH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue