From c419b7d12696f1713f041e628c2d202eb14f5a6c Mon Sep 17 00:00:00 2001 From: irackson Date: Thu, 29 Aug 2024 19:02:27 -0400 Subject: [PATCH] fix build error ": extra characters at the end of d command" with semicolon --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 271a658..0228f2b 100755 --- a/build.sh +++ b/build.sh @@ -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