From 1ebd495d9c7699cfdf95a92e46ce1ea08f593f6d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 2 Jul 2011 08:53:09 +0200 Subject: [PATCH] xbps-src: redo PATH to use correct paths for xbps, and ccache. --- xbps-src/xbps-src.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xbps-src/xbps-src.sh.in b/xbps-src/xbps-src.sh.in index 90b9c47a70c..58c75b26e9f 100644 --- a/xbps-src/xbps-src.sh.in +++ b/xbps-src/xbps-src.sh.in @@ -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"