From 48420eba033b09b883722afc485f841abc3af757 Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 2 Aug 2018 12:19:34 +0200 Subject: [PATCH] More consistent filesystem path quoting in shell scripts. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 821857e..f3adae0 100644 --- a/build.sh +++ b/build.sh @@ -46,7 +46,7 @@ fi for file in "$SRC"/content/*.js; do if grep -P '\/\/\s(REL|DEV)_ONLY' "$file" >/dev/null; then - sed -re 's/\s*\/\/\s*(\S.*)\s*\/\/\s*REL_ONLY.*/\1/' -e 's/.*\/\/\s*DEV_ONLY.*//' "$file" > "$BUILD"/content/$(basename "$file") + sed -re 's/\s*\/\/\s*(\S.*)\s*\/\/\s*REL_ONLY.*/\1/' -e 's/.*\/\/\s*DEV_ONLY.*//' "$file" > "$BUILD/content/$(basename "$file")" fi done