diff options
Diffstat (limited to 'utils/lib_sxng_static.sh')
-rwxr-xr-x | utils/lib_sxng_static.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lib_sxng_static.sh b/utils/lib_sxng_static.sh index de34ea629..8271cc144 100755 --- a/utils/lib_sxng_static.sh +++ b/utils/lib_sxng_static.sh @@ -37,7 +37,7 @@ is.static.build.commit() { # check all files of the commit belongs to $STATIC_BUILT_PATHS commit_files=$(git diff-tree --no-commit-id --name-only -r "${commit_sha}") - for i in ${STATIC_BUILT_PATHS[*]}; do + for i in "${STATIC_BUILT_PATHS[@]}"; do # remove files of ${STATIC_BUILT_PATHS} commit_files=$(echo "${commit_files}" | grep -v "^${i}") done |