From 039e354b7d991f8de7003c7a98ad85bec601cb05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 30 Apr 2014 11:57:54 +0200 Subject: [PATCH] ciscript: don't use an empty string as a number An empty string is not a valid number, and some shells complain. Check instead if $COVERITY is non-empty, which is a common convention and what we're doing anyway. --- script/cibuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild.sh b/script/cibuild.sh index 1f15e851e..699404bd2 100755 --- a/script/cibuild.sh +++ b/script/cibuild.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ "$COVERITY" -eq 1 ]; +if [ -n "$COVERITY" ]; then ./script/coverity.sh; exit $?; -- 2.39.5