xbps-src: redo PATH to use correct paths for xbps, and ccache.

This commit is contained in:
Juan RP 2011-07-02 08:53:09 +02:00
parent 64cae7bf75
commit 1ebd495d9c

View file

@ -250,8 +250,8 @@ if [ -z "$in_chroot" ]; then
MYPATH="$XBPS_MASTERDIR/usr/local/sbin:$MYPATH"
else
# In chroot always prefer tools from bootstrap.
MYPATH="/tools/bin:/usr/local/sbin:/usr/local/bin"
MYPATH="/bin:/sbin:/usr/bin:/usr/sbin:$MYPATH"
MYPATH="/usr/lib/ccache:/tools/bin:/usr/local/sbin:/usr/local/bin"
MYPATH="$MYPATH:/bin:/sbin:/usr/bin:/usr/sbin"
fi
export PATH="$MYPATH"