From 19e830c003bf03afa7e59fa8a0b66fa212e56ecb Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Tue, 9 Feb 2021 11:32:06 +0100 Subject: :hammer: Fix regex --- postbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postbuild.sh') diff --git a/postbuild.sh b/postbuild.sh index 87fcd08..02c99c3 100755 --- a/postbuild.sh +++ b/postbuild.sh @@ -20,7 +20,7 @@ sed -i".bak" "s/{{ VERSION }}/$VERSION/g" service-worker.js tput setaf 4; echo "> Add cache-files to webmanifest..."; tput sgr0 cache_files=""; for file in *; do - if [[ "$file" =~ (manifest.webmanifest|*.git|*.bak) ]]; then + if [[ "$file" =~ (manifest.webmanifest|.git|.bak) ]]; then continue fi if [[ "$cache_files" == "" ]]; then -- cgit v1.2.3