diff options
Diffstat (limited to 'extract_utils.sh')
-rw-r--r-- | extract_utils.sh | 4 |
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" |