[arch-projects] [devtools] [PATCH 1/2] Include end of options delimeter in makepkg_args

Dave Reisner dreisner at archlinux.org
Mon Sep 22 08:35:58 EDT 2014


This prevents the need for:

  extra-x86_64-build -- -- -R
---
 archbuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/archbuild.in b/archbuild.in
index dc45c7f..795bebf 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -38,7 +38,7 @@ while getopts 'hcr:' arg; do
 done
 
 # Pass all arguments after -- right to makepkg
-makechrootpkg_args+=("${@:$OPTIND}")
+makechrootpkg_args+=(-- "${@:$OPTIND}")
 
 check_root "$0" "$@"
 
-- 
2.1.0


More information about the arch-projects mailing list