diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-12-18 06:31:24 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-12-24 12:57:55 +0300 |
commit | 0a065f48be99d4ebae49de622a335f23e50c6ca0 (patch) | |
tree | b591d91fac26e5bf7a4dd6d37178b978061ef060 /platformio/relayctl/make_static.sh | |
parent | 022ec129bb8f511a7bf8cf537f165afce2303262 (diff) |
pump-mqtt-bot: wip; relayctl: somewhat stable
Diffstat (limited to 'platformio/relayctl/make_static.sh')
-rwxr-xr-x | platformio/relayctl/make_static.sh | 3 |
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};" |