common/xbps-src/shutils/chroot.sh: prepend /xbps-packages to PATH for the chroot target.

This commit is contained in:
Juan RP 2014-03-22 13:21:04 +01:00
parent 12b946d51e
commit 85624c1a6a

View file

@ -41,7 +41,7 @@ XBPS_SRC_VERSION="$XBPS_SRC_VERSION"
. /etc/xbps/xbps-src.conf . /etc/xbps/xbps-src.conf
PATH=/usr/bin:/usr/sbin:/xbps-packages PATH=/xbps-packages:/usr/bin:/usr/sbin
exec env -i PATH="\$PATH" DISTCC_HOSTS="\$XBPS_DISTCC_HOSTS" DISTCC_DIR="/distcc" @@XARCH@@ \ exec env -i PATH="\$PATH" DISTCC_HOSTS="\$XBPS_DISTCC_HOSTS" DISTCC_DIR="/distcc" @@XARCH@@ \
CCACHE_DIR="/ccache" IN_CHROOT=1 LANG=en_US.UTF-8 TERM=linux HOME="/tmp" \ CCACHE_DIR="/ccache" IN_CHROOT=1 LANG=en_US.UTF-8 TERM=linux HOME="/tmp" \