From: Daniel Carl Date: Mon, 15 May 2017 20:27:28 +0000 (+0200) Subject: Add space after sed -e option #388. X-Git-Url: https://git.owens.tech/rss.xml/rss.xml/git?a=commitdiff_plain;h=fc41555aaf0b9269c690bfde5f3e4f5928ad1ebe;p=vimb.git Add space after sed -e option #388. --- diff --git a/src/scripts/js2h.sh b/src/scripts/js2h.sh index 81425fc..0efeaea 100755 --- a/src/scripts/js2h.sh +++ b/src/scripts/js2h.sh @@ -15,7 +15,7 @@ fi # Put file extension and _ before file name, turn all to upper case to get the # constant name. -CONSTANT=$(echo "$FILE" | sed -e 's:.*/::g' -e's/.*\.css$/CSS_&/g' -e's/.*\.js$/JS_&/g' -e's/\.css$//' -e's/\.js$//' | tr a-z A-Z) +CONSTANT=$(echo "$FILE" | sed -e 's:.*/::g' -e 's/.*\.css$/CSS_&/g' -e 's/.*\.js$/JS_&/g' -e 's/\.css$//' -e 's/\.js$//' | tr a-z A-Z) # minify the script cat $FILE | \