More consistent filesystem path quoting in shell scripts.

This commit is contained in:
hackademix 2018-08-02 12:19:34 +02:00
parent a97176845d
commit 48420eba03
1 changed files with 1 additions and 1 deletions

View File

@ -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