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_tmpfs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/chroot_tmpfs') diff --git a/scripts/build/chroot_tmpfs b/scripts/build/chroot_tmpfs index 93fec81c3..e289c40bc 100755 --- a/scripts/build/chroot_tmpfs +++ b/scripts/build/chroot_tmpfs @@ -18,12 +18,12 @@ set -e DESCRIPTION="Use tmpfs to speedup the build" USAGE="${PROGRAM} {install|remove} [--force]" -_ACTION="${1}" -shift - # Processing arguments and configuration files Init_config_data "${@}" +_ACTION="${1}" +shift + if [ "${LB_BUILD_WITH_TMPFS}" != "true" ] then exit 0 -- cgit v1.2.3