From: Nico Cesar Date: Fri, 22 May 2015 19:18:14 +0000 (-0400) Subject: style and fashion for classy 'if' statements X-Git-Url: https://git.arvados.org/arvados-dev.git/commitdiff_plain/bb48082657c79156ad9af20d71c1ca73eafdf0fa style and fashion for classy 'if' statements refs #6035 --- diff --git a/jenkins/run-docker-tests.sh b/jenkins/run-docker-tests.sh index 5dcc167..f0afccb 100755 --- a/jenkins/run-docker-tests.sh +++ b/jenkins/run-docker-tests.sh @@ -125,7 +125,7 @@ title "uploading images" timer_reset -if [[ ! "$ECODE" == "0" ]]; then +if [[ "$ECODE" != "0" ]]; then title "upload arvados images SKIPPED because build failed" else if [[ $upload == true ]]; then @@ -160,7 +160,7 @@ title "docker build java-bwa-samtools complete (`timer`)" timer_reset -if [[ ! "$ECODE" == "0" ]]; then +if [[ "$ECODE" != "0" ]]; then title "upload arvados/jobs image SKIPPED because build failed" else if [[ $upload == true ]]; then