xbps-src: quote PATH while entering the chroot.
... otherwise if PATH contains whitespaces you could be fucked up.
This commit is contained in:
parent
aa302ce88d
commit
a5193023b9
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ chroot_handler() {
|
|||
[ -n "$XBPS_PKG_OPTIONS" ] && arg="$arg -o $XBPS_PKG_OPTIONS"
|
||||
|
||||
action="$arg $action"
|
||||
env -i PATH=/usr/bin:/usr/sbin:$PATH HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue