From 1fafe070100b5cb844d0d34d0b58da69b7506209 Mon Sep 17 00:00:00 2001 From: Vladimir Oltean Date: Sun, 24 Jun 2018 20:42:01 +0300 Subject: [PATCH] extract_utils: extract(): rename ARGS variable to SPEC_ARGS * This is a cleanup patch. Change-Id: I2a4aac840c06c4f9b94b77b32ead33352ce395ff Signed-off-by: Vladimir Oltean --- extract_utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract_utils.sh b/extract_utils.sh index cf71f0b..4e72b3e 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -984,12 +984,12 @@ function extract() { local SPEC_SRC_FILE=$(src_file "${FILELIST[$i-1]}") local SPEC_DST_FILE=$(target_file "${FILELIST[$i-1]}") - local ARGS=$(target_args "${FILELIST[$i-1]}") + local SPEC_ARGS=$(target_args "${FILELIST[$i-1]}") local OUTPUT_DIR="$OUTPUT_ROOT" local TMP_DIR="$OUTPUT_TMP" local TARGET= - if [ "$ARGS" = "rootfs" ]; then + if [ "${SPEC_ARGS}" = "rootfs" ]; then TARGET="${SPEC_DST_FILE}" OUTPUT_DIR="$OUTPUT_DIR/rootfs" TMP_DIR="$TMP_DIR/rootfs"