From 4649cb6a49693715a165157c9e936b87c61a9dc9 Mon Sep 17 00:00:00 2001 From: andytson-inviqa Date: Fri, 19 Nov 2021 17:17:30 +0000 Subject: [PATCH] Fix bash lint issues --- harness/scripts/mutagen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/harness/scripts/mutagen.sh b/harness/scripts/mutagen.sh index ea8a4e4..8f0ccd0 100644 --- a/harness/scripts/mutagen.sh +++ b/harness/scripts/mutagen.sh @@ -84,7 +84,7 @@ clean_existing_projects() local SYNC_NAME local SYNC_LIST - for SYNC_NAME in ${SYNC_NAMES[*]}; do + for SYNC_NAME in "${SYNC_NAMES[@]}"; do # List syncs based on name SYNC_LIST="$(mutagen sync list "$SYNC_NAME" 2> /dev/null || true)" # Check if there are entries left @@ -98,7 +98,7 @@ clean_existing_projects() local FORWARD_LIST local CONTAINER_NAMES_REGEX CONTAINER_NAMES_REGEX="$(join_by_character "\|" "${CONTAINER_NAMES[@]}")" - for FORWARD_NAME in ${FORWARD_NAMES[*]}; do + for FORWARD_NAME in "${FORWARD_NAMES[@]}"; do # List forwards based on name FORWARD_LIST="$(mutagen forward list "$FORWARD_NAME" 2> /dev/null || true)" # Check if there are entries left