xbps-src/chroot.sh: reuse $PATH from outsude
This partially reverts commit e0e48d6f6a
This commit broke xbps-src when the xbps tools weren't in /usr/bin
This commit is contained in:
parent
b6426da091
commit
506c2faf14
|
@ -198,7 +198,7 @@ chroot_handler() {
|
|||
[ -n "$XBPS_BINPKG_EXISTS" ] && arg="$arg -E"
|
||||
|
||||
action="$arg $action"
|
||||
env -i -- PATH="/usr/bin" SHELL=/bin/sh \
|
||||
env -i -- PATH="/usr/bin:$PATH" SHELL=/bin/sh \
|
||||
HOME=/tmp IN_CHROOT=1 LC_COLLATE=C LANG=en_US.UTF-8 \
|
||||
SOURCE_DATE_EPOCH="$SOURCE_DATE_EPOCH" \
|
||||
XBPS_ALLOW_CHROOT_BREAKOUT="$XBPS_ALLOW_CHROOT_BREAKOUT" \
|
||||
|
|
Loading…
Reference in New Issue