diff options
author | Patrick Lewis <pat@lo5t.com> | 2020-12-23 13:17:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 21:17:45 +0000 |
commit | bc51fbf3f4d622ab0c53c57a2434e1af6acfc211 (patch) | |
tree | 598a7943c00b3ef94017afb0ef55933c80fe6101 /apps/bash_shared/common.sh | |
parent | d6abb8205530628c043fbf5e12fa7524803ac2bf (diff) |
fix(apps/scripts): Add quotes for directory paths containing empty spaces (#3716)
Diffstat (limited to 'apps/bash_shared/common.sh')
-rw-r--r-- | apps/bash_shared/common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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') |