From b7063fa1bc4aae484021acd23e7d6805798e3475 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 5 Mar 2015 21:47:41 +0100 Subject: [PATCH] xbps-src: fix previous. --- common/xbps-src/shutils/chroot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 94d58676ba..9419702efd 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -243,7 +243,8 @@ chroot_handler() { fi else # uunshare not available - xbps-uchroot ${_chargs} $XBPS_MASTERDIR /bin/xbps-shell + env -i PATH="/usr/bin:/usr/sbin:$PATH" HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \ + xbps-uchroot ${_chargs} $XBPS_MASTERDIR /void-packages/xbps-src $action $pkg rv=$? fi fi