style and fashion for classy 'if' statements
[arvados-dev.git] / 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