From f682eb7ec6d4553f89e32d88df53d12b91eb397c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 1 Jul 2014 10:55:21 +0200 Subject: [PATCH] xbps-src: do not propagate -H into XBPS_OPTIONS; the hostdir has a fixed path in the chroot. --- xbps-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src b/xbps-src index 44758baeb0d..89b1c0159d3 100755 --- a/xbps-src +++ b/xbps-src @@ -323,7 +323,7 @@ while getopts "a:CfgGhH:Ij:Lm:No:r:V" opt; do f) readonly XBPS_BUILD_FORCEMODE=1; XBPS_OPTIONS+="-f ";; G) readonly XBPS_USE_GIT_REVS=1; XBPS_OPTIONS+="-G ";; g) readonly XBPS_DEBUG_PKGS=1; XBPS_OPTIONS+="-g ";; - H) readonly XBPS_HOSTDIR="$(readlink -m $OPTARG 2>/dev/null)"; XBPS_OPTIONS+="-H $XBPS_HOSTDIR ";; + H) readonly XBPS_HOSTDIR="$(readlink -m $OPTARG 2>/dev/null)";; h) usage && exit 0;; I) readonly XBPS_SKIP_DEPS=1; XBPS_OPTIONS+="-I ";; j) readonly XBPS_MAKEJOBS="$OPTARG"; XBPS_OPTIONS+="-j $OPTARG ";;