summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_cache
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_cache')
-rwxr-xr-xscripts/build/chroot_cache6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_cache b/scripts/build/chroot_cache
index 242858729..85db25eb3 100755
--- a/scripts/build/chroot_cache
+++ b/scripts/build/chroot_cache
@@ -18,6 +18,9 @@ set -e
DESCRIPTION="Cache chroot stage"
USAGE="${PROGRAM} [--force]"
+_ACTION="${1}"
+shift
+
# Processing arguments and configuration files
Init_config_data "${@}"
@@ -26,9 +29,6 @@ then
exit 0
fi
-_ACTION="${1}"
-shift
-
# Set non-default stage file name
# Setting to default name with appended action name
STAGE_FILE="$(Stagefile_name "${_ACTION}")"