From f605edc4ea1791b3a03bda2e84d99f310fbfd14f Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Sat, 29 Jul 2017 16:18:09 -0400 Subject: [PATCH] ctfws: pushall fixes and tweaks Check the right shell variable Now that the modules compile at boot, just push, don't compile now --- pushall.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pushall.sh b/pushall.sh index b0c0aac..98de23b 100755 --- a/pushall.sh +++ b/pushall.sh @@ -5,17 +5,17 @@ set -e -u . ./host/pushcommon.sh pushsrc() { - dopushcompile net/nwfmqtt.lua - dopushcompile _external/lcd1602.lua - dopushcompile examples/ctfws/ctfws.lua - dopushcompile examples/ctfws/ctfws-lcd.lua - dopushcompile examples/ctfws/init3.lua + dopush net/nwfmqtt.lua + dopush _external/lcd1602.lua + dopush examples/ctfws/ctfws.lua + dopush examples/ctfws/ctfws-lcd.lua + dopush examples/ctfws/init3.lua dopushcompile examples/ctfws/init2.lua } if [ -n "${2:-}" ]; then if [ -d examples/ctfws/conf/$2 ]; then CONFDIR=examples/ctfws/conf/$2 - elif [ -d $1 ]; then CONFDIR=$2 + elif [ -d $2 ]; then CONFDIR=$2 else echo "Not a directory: $2"; exit 1 fi fi -- 2.50.1