andorid: media-codecs-func: shellcheck: fix Expansions inside '${..}'
In ./automated/android/media-codecs-functional-tests/linaro-android-userspace-tests.sh line 258:
LINE="${LINE#${TEST_FILE}}"
^----------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.
Did you mean:
LINE="${LINE#"${TEST_FILE}"}"
Fix like suggested.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
diff --git a/automated/android/media-codecs-functional-tests/linaro-android-userspace-tests.sh b/automated/android/media-codecs-functional-tests/linaro-android-userspace-tests.sh
index 20980f2..640935d 100755
--- a/automated/android/media-codecs-functional-tests/linaro-android-userspace-tests.sh
+++ b/automated/android/media-codecs-functional-tests/linaro-android-userspace-tests.sh
@@ -260,7 +260,7 @@
fi
# Remove the test file, leaving the MD5SUMs
- LINE="${LINE#${TEST_FILE}}"
+ LINE="${LINE#"${TEST_FILE}"}"
TEST_FILE="${DATA_DIR}/${TEST_FILE}"
if [ ! -f ${TEST_FILE} ]; then