From bc51fbf3f4d622ab0c53c57a2434e1af6acfc211 Mon Sep 17 00:00:00 2001 From: Patrick Lewis Date: Wed, 23 Dec 2020 13:17:45 -0800 Subject: fix(apps/scripts): Add quotes for directory paths containing empty spaces (#3716) --- apps/bash_shared/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/bash_shared/common.sh') diff --git a/apps/bash_shared/common.sh b/apps/bash_shared/common.sh index baeaae86c7..ed0859319c 100644 --- a/apps/bash_shared/common.sh +++ b/apps/bash_shared/common.sh @@ -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') \ No newline at end of file +ACORE_VERSION=$("$AC_PATH_DEPS/jsonpath/JSONPath.sh" -f "$AC_PATH_ROOT/acore.json" -b '$.version') -- cgit v1.2.3