summaryrefslogtreecommitdiff
path: root/extract_utils.sh
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2018-06-24 20:42:01 +0300
committerMichael Bestas <mkbestas@lineageos.org>2018-07-08 20:14:12 +0200
commit1fafe070100b5cb844d0d34d0b58da69b7506209 (patch)
treecef94825b292fa85b3dd8744b7c2c54af66b688a /extract_utils.sh
parent636f4127b9f6859afde9d4a54dc49ac20da56a2d (diff)
extract_utils: extract(): rename ARGS variable to SPEC_ARGS
* This is a cleanup patch. Change-Id: I2a4aac840c06c4f9b94b77b32ead33352ce395ff Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Diffstat (limited to 'extract_utils.sh')
-rw-r--r--extract_utils.sh4
1 files 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"