From c3e271bbd9e1bfbdc5b54e8d3d822358224b0073 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 10 Apr 2015 18:44:45 +0200 Subject: run-local: don't run if build fails --- run-local.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'run-local.sh') diff --git a/run-local.sh b/run-local.sh index 570d0c3d..7fc63965 100755 --- a/run-local.sh +++ b/run-local.sh @@ -18,6 +18,7 @@ if [ ! -f $CONFIG ]; then cp $EXAMPLE $CONFIG fi make # building css relies on Makefile -ant -f build.ant deploy-local -DdefaultDomain=$DOMAIN -DtargetDomain=$DOMAIN -cd deploy-local -python2.7 bin/rz_server.py --config-dir etc +ant -f build.ant deploy-local -DdefaultDomain=$DOMAIN -DtargetDomain=$DOMAIN && ( + cd deploy-local + python2.7 bin/rz_server.py --config-dir etc +) -- cgit v1.3.1