From 88dd3ec322aae5776a11e5112837f199ac83a374 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 6 Feb 2017 15:43:35 +0100 Subject: Some shells (like dash when invoked as /bin/sh) don't like '==' to test. --- tools/getconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/getconfig.sh b/tools/getconfig.sh index f73cf1b..aaab7ee 100755 --- a/tools/getconfig.sh +++ b/tools/getconfig.sh @@ -15,7 +15,7 @@ plopcontrolport=$(cat ${plopcontrolfile}) configversion=$(echo "configversion" | nc 127.0.0.1 ${plopcontrolport}) echo "version before reload: $configversion" getconfigresult=$(${BINDIR}/getconfig.py --localconfig ${localconfig} --dest ${globalconfig}) -if [ "$getconfigresult" == "newconfig" ]; then +if [ "$getconfigresult" = "newconfig" ]; then ${BINDIR}/compileconfig.py --localconfig ${localconfig} --config ${globalconfig} reloadresult=$(echo "reload" | nc 127.0.0.1 ${plopcontrolport}) echo $reloadresult -- cgit v1.1