From 56214d63a6df7fbcbe843bed90b3f691bfb308c3 Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Sun, 17 Nov 2024 15:41:08 +0100 Subject: [PATCH] fix: Ensure name_filter are local scoped (#861) * fix: Ensure name_filter are local scoped * fix test on macos --- bin/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/test.sh b/bin/test.sh index 182accb1..33457016 100755 --- a/bin/test.sh +++ b/bin/test.sh @@ -13,7 +13,7 @@ file_ext="php" function main { has_failures=0 - name_filter=() + name_filter=( "-name" "*" ) # MacOS otherwise sees unbound variable if [ $# -ge 1 ] && [ -n "$1" ]; then name_filter=("-name" "$1") fi