fix build error ": extra characters at the end of d command" with semicolon

This commit is contained in:
irackson
2024-08-29 19:02:27 -04:00
parent d1759ae6ec
commit c419b7d126
+1 -1
View File
@@ -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