Fix extraction of extensions to be tested from data/supported-extensions

pull/119/head
Michele Locati 2020-02-16 18:39:57 +01:00
parent 3454c8f7d7
commit 3e14522293
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ extractExtensionsFromData() {
fi
elif test -z "${extractExtensionsFromData_line##+*}"; then
extractExtensionsFromData_extension="${extractExtensionsFromData_line%% *}"
extractExtensionsFromData_extension="${extractExtensionsFromData_extension#+}"
if ! stringInList "$extractExtensionsFromData_extension" "$EXTENSIONS_TO_BE_TESTED"; then
EXTENSIONS_TO_BE_TESTED="$EXTENSIONS_TO_BE_TESTED $extractExtensionsFromData_extension"
fi