From 249caa122a4fb8bbfffa9e50b3b52987f88e3bac Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 27 May 2016 10:16:47 +0200 Subject: [PATCH] Fixed build helper script. --- script/build/test_shutdown.sh | 2 +- script/build/test_startup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/build/test_shutdown.sh b/script/build/test_shutdown.sh index b2da7e105..a80f88245 100755 --- a/script/build/test_shutdown.sh +++ b/script/build/test_shutdown.sh @@ -15,7 +15,7 @@ if [ -f $SERVER_PID ]; then kill -9 $(cat $SERVER_PID) fi -if WITH_DB; then +if test $WITH_DB -eq 1; then script/build/test_cleanup.sh fi diff --git a/script/build/test_startup.sh b/script/build/test_startup.sh index 6e9ca69c8..2648e25f5 100755 --- a/script/build/test_startup.sh +++ b/script/build/test_startup.sh @@ -4,7 +4,7 @@ APP_PORT=$2 WS_PORT=$3 WITH_DB=$4 || 0 -if WITH_DB; then +if test $WITH_DB -eq 1; then script/bootstrap.sh fi