summaryrefslogtreecommitdiff
path: root/utils/lib_sxng_static.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-01-07 18:37:11 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-01-09 16:31:19 +0100
commit54a6626582d199d5e9914628ac68ffc9c3611628 (patch)
tree8e6a156ac1299a12871ee616b670d321f50ce731 /utils/lib_sxng_static.sh
parentf9c5727ddc74b9ee3bb95225c30f57c7aeb14806 (diff)
downloadsearxng-54a6626582d199d5e9914628ac68ffc9c3611628.tar.gz
searxng-54a6626582d199d5e9914628ac68ffc9c3611628.zip
[fix] issues reported by shellcheck v0.9.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib_sxng_static.sh')
-rwxr-xr-xutils/lib_sxng_static.sh2
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