xbps-src: fix -o in chroot (reported by al3hex).
This commit is contained in:
parent
59ebbd87af
commit
758ea97981
|
@ -193,6 +193,7 @@ chroot_handler() {
|
||||||
[ -n "$XBPS_SKIP_DEPS" ] && arg="$arg -I"
|
[ -n "$XBPS_SKIP_DEPS" ] && arg="$arg -I"
|
||||||
[ -n "$XBPS_ALT_REPOSITORY" ] && arg="$arg -r $XBPS_ALT_REPOSITORY"
|
[ -n "$XBPS_ALT_REPOSITORY" ] && arg="$arg -r $XBPS_ALT_REPOSITORY"
|
||||||
[ -n "$XBPS_USE_GIT_REVS" ] && arg="$arg -G"
|
[ -n "$XBPS_USE_GIT_REVS" ] && arg="$arg -G"
|
||||||
|
[ -n "$XBPS_PKG_OPTIONS" ] && arg="$arg -o $XBPS_PKG_OPTIONS"
|
||||||
|
|
||||||
action="$arg $action"
|
action="$arg $action"
|
||||||
env -i PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \
|
env -i PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \
|
||||||
|
|
Loading…
Reference in New Issue