summaryrefslogtreecommitdiff
path: root/platformio/relayctl/make_static.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/relayctl/make_static.sh')
-rwxr-xr-xplatformio/relayctl/make_static.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/platformio/relayctl/make_static.sh b/platformio/relayctl/make_static.sh
index 079d26b..879beb4 100755
--- a/platformio/relayctl/make_static.sh
+++ b/platformio/relayctl/make_static.sh
@@ -73,7 +73,8 @@ for ext in html js css ico; do
gzip |
xxd -ps -c 16 |
sed 's/.\{2\}/0x&, /g' |
- sed 's/^/ /'
+ sed 's/^/ /' |
+ sed 's/[ \t]*$//'
echo "};"
echo "const StaticFile $filename PROGMEM = {(sizeof(${filename}_content)/sizeof(${filename}_content[0])), ${filename}_content};"