From 0a065f48be99d4ebae49de622a335f23e50c6ca0 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Dec 2022 06:31:24 +0300 Subject: pump-mqtt-bot: wip; relayctl: somewhat stable --- platformio/relayctl/make_static.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platformio/relayctl/make_static.sh') 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};" -- cgit v1.2.3