From 13cd7845bb70b332eb0a0930d651b1ad246ff209 Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Sat, 29 Jul 2017 21:34:55 -0400 Subject: [PATCH] push* scripts: use luasrcdiet if directed If ${LUADIET} is empty, send files as they are; otherwise, stream them through luasrcdiet. To use the default options, use 'LUADIET=' '" or something to that effect. This can be set per-file, should some module turn out to be broken by dieting. The "dopush" utility macro is split and now called "dopushlua" and "dopushtext" (which skips luasrcdiet even if it is engaged). --- pushall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pushall.sh b/pushall.sh index c747827..73db1d3 100755 --- a/pushall.sh +++ b/pushall.sh @@ -10,8 +10,8 @@ dopushcompile net/nwfmqtt.lua dopushcompile examples/lamp/lamp-touch.lua #dopushcompile examples/lamp/lamp-remote.lua #dopushcompile examples/lamp/telnetd-cap.lua -#dopush examples/lamp/conf/nwfmqtt.conf -#dopush examples/lamp/conf/nwfmqtt.subs +#dopushtext examples/lamp/conf/nwfmqtt.conf +#dopushtext examples/lamp/conf/nwfmqtt.subs dopushcompile examples/lamp/init2.lua #for i in examples/lamp/draw-*.lua; do -- 2.50.1