style and fashion for classy 'if' statements
authorNico Cesar <nico@nicocesar.com>
Fri, 22 May 2015 19:18:14 +0000 (15:18 -0400)
committerNico Cesar <nico@nicocesar.com>
Fri, 22 May 2015 19:18:14 +0000 (15:18 -0400)
refs #6035

jenkins/run-docker-tests.sh

index 5dcc1673476b6d7a456d2986f3cc08b7708ac5f6..f0afccb845b595cdcd8777d58af7c866801fdd6d 100755 (executable)
@@ -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