xbps-src: fix -o in chroot (reported by al3hex).

This commit is contained in:
Juan RP 2014-07-12 15:56:40 +02:00
parent 59ebbd87af
commit 758ea97981

View file

@ -193,6 +193,7 @@ chroot_handler() {
[ -n "$XBPS_SKIP_DEPS" ] && arg="$arg -I"
[ -n "$XBPS_ALT_REPOSITORY" ] && arg="$arg -r $XBPS_ALT_REPOSITORY"
[ -n "$XBPS_USE_GIT_REVS" ] && arg="$arg -G"
[ -n "$XBPS_PKG_OPTIONS" ] && arg="$arg -o $XBPS_PKG_OPTIONS"
action="$arg $action"
env -i PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \