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
1 changed files with 2 additions and 2 deletions

View File

@ -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"