From 758ea979816e5c490c389d5fa65f1cb66a5af7f3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 12 Jul 2014 15:56:40 +0200 Subject: [PATCH] xbps-src: fix -o in chroot (reported by al3hex). --- common/xbps-src/shutils/chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 1f22c260531..ff6bbb7135e 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -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 \