fix(apps/scripts): Add quotes for directory paths containing empty spaces (#3716)

This commit is contained in:
Patrick Lewis
2020-12-23 13:17:45 -08:00
committed by GitHub
parent d6abb82055
commit bc51fbf3f4
3 changed files with 28 additions and 28 deletions

View File

@@ -15,9 +15,9 @@ fi
for entry in "$AC_PATH_MODULES/"*/include.sh
do
if [ -e $entry ]; then
source $entry
if [ -e "$entry" ]; then
source "$entry"
fi
done
ACORE_VERSION=$("$AC_PATH_DEPS/jsonpath/JSONPath.sh" -f $AC_PATH_ROOT/acore.json -b '$.version')
ACORE_VERSION=$("$AC_PATH_DEPS/jsonpath/JSONPath.sh" -f "$AC_PATH_ROOT/acore.json" -b '$.version')