fix build error ": extra characters at the end of d command" with semicolon
This commit is contained in:
@@ -112,7 +112,7 @@ npx uglify-js build/game.packed.js \
|
||||
npx roadroller -Zab14 -Zlr930 -Zmd19 -Zpr14 -S0,1,2,3,7,13,14,19,58,97,305,422 build/game.min.js -o build/game.roadrolled.js
|
||||
|
||||
# Embed source into HTML
|
||||
sed -e '/GAME_SOURCE/{r build/game.roadrolled.js' -e 'd}' source/html_template.html > build/index.html
|
||||
sed -e '/GAME_SOURCE/{r build/game.roadrolled.js' -e 'd;}' source/html_template.html > build/index.html
|
||||
|
||||
# Build ZIP
|
||||
rm -f -- build/game.zip
|
||||
|
||||
Reference in New Issue
Block a user