From: Nathaniel Wesley Filardo Date: Tue, 11 Oct 2016 22:09:45 +0000 (-0400) Subject: host/pushcommon.sh for push scripts X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=05c2ca67f0f74c79310c7c7a5d316a5687b962c8;p=acmetensortoys-esp-lua_lamp host/pushcommon.sh for push scripts --- diff --git a/pushall.sh b/pushall.sh index 15b7740..84533da 100755 --- a/pushall.sh +++ b/pushall.sh @@ -1,9 +1,8 @@ #!/bin/bash set -e -u -PUSHCMD="./host/pushvia.expect ${HOST} ${PORT:-23}" -dopush() { ${PUSHCMD} ${2:-`basename $1`} $1; } -dopushcompile() { ${PUSHCMD} ${2:-`basename $1`} $1 compile; } + +. ./host/pushcommon.sh dopushcompile net/nwfmqtt.lua dopushcompile cap1188/cap1188.lua