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/bootstrap_cache | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/bootstrap_cache') diff --git a/scripts/build/bootstrap_cache b/scripts/build/bootstrap_cache index 1c3c7ff25..cc1ac755e 100755 --- a/scripts/build/bootstrap_cache +++ b/scripts/build/bootstrap_cache @@ -18,12 +18,12 @@ set -e DESCRIPTION="Cache bootstrap stage" USAGE="${PROGRAM} {restore|save} [--force]" -_ACTION="${1}" -shift - # Processing arguments and configuration files Init_config_data "${@}" +_ACTION="${1}" +shift + # Check architecture Check_crossarchitectures -- cgit v1.2.3