From 13b96bc7cfcf27f80ed78fa6e820281b06520f86 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 3 Jun 2017 22:57:51 +0200 Subject: [PATCH] xbps-src: Revert "add -- to env for portability" This reverts commit a01afa1d56b25804edea57ec323d762eff49e66b. --- common/xbps-src/shutils/chroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index c16933ee31..5f06138a8d 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -152,7 +152,7 @@ chroot_sync_repos() { $XBPS_MASTERDIR/$XBPS_CROSS_BASE/var/db/xbps/keys # Make sure to sync index for remote repositories. if [ -z "$XBPS_SKIP_REMOTEREPOS" ]; then - env XBPS_TARGET_ARCH=$XBPS_TARGET_MACHINE -- \ + env XBPS_TARGET_ARCH=$XBPS_TARGET_MACHINE \ xbps-install -r $XBPS_MASTERDIR/$XBPS_CROSS_BASE -S fi fi @@ -202,7 +202,7 @@ chroot_handler() { env -i PATH="/usr/bin:/usr/sbin:$PATH" SHELL=/bin/sh \ HOME=/tmp IN_CHROOT=1 LC_COLLATE=C LANG=en_US.UTF-8 \ SOURCE_DATE_EPOCH="$SOURCE_DATE_EPOCH" \ - $XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh -- \ + $XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh \ $XBPS_MASTERDIR $XBPS_DISTDIR "$XBPS_HOSTDIR" "$XBPS_CHROOT_CMD_ARGS" \ /void-packages/xbps-src $action $pkg rv=$?