From 43b4f9cdf62972bff5cff45f895305c391a895f2 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sun, 3 May 2020 00:58:18 +0100 Subject: adjust action arg consumption order did not properly consider all usage cases properly in deciding placement. this captured `--usage` in `$PROGRAM --usage` as the action for instance. Gbp-Dch: Ignore --- scripts/build/chroot_proc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/chroot_proc') diff --git a/scripts/build/chroot_proc b/scripts/build/chroot_proc index 7f89fdd55..fcc866932 100755 --- a/scripts/build/chroot_proc +++ b/scripts/build/chroot_proc @@ -18,12 +18,12 @@ set -e DESCRIPTION="Mount /proc" USAGE="${PROGRAM} {install|remove} [--force]" -_ACTION="${1}" -shift - # Processing arguments and configuration files Init_config_data "${@}" +_ACTION="${1}" +shift + # Requiring stage file Require_stagefiles config bootstrap -- cgit v1.2.3