diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-10 18:44:45 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-10 18:44:45 +0200 |
| commit | c3e271bbd9e1bfbdc5b54e8d3d822358224b0073 (patch) | |
| tree | 53a300b95aedce9e492f1a4001af1c473d7c5101 /run-local.sh | |
| parent | ad2ae9e1764767bbce6abba85324a03117d1d693 (diff) | |
run-local: don't run if build fails
Diffstat (limited to 'run-local.sh')
| -rwxr-xr-x | run-local.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 +) |
