From c0af6d26b055dc4c0a44f1cd45c03005ccd4b25f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 2 Mar 2015 11:19:08 +0100 Subject: reproducible: use band-aid to make bash work --- bin/reproducible_html_graphs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 3fcf1b5c..c11cf6e0 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -57,7 +57,7 @@ if [ -z $RESULT ] ; then if [ -z $DIFFB ] ; then DIFFB=0 ; fi DIFFU=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT julianday('$DATE') - julianday('$OLDESTU');") if [ -z $DIFFU ] ; then DIFFU=0 ; fi - let "TOTAL=GOOD+BAD+UGLY+REST" + let "TOTAL=GOOD+BAD+UGLY+REST" || true # let FOO=0+0 returns error in bash... if [ "$ALL" != "$TOTAL" ] ; then let "UNTESTED=ALL-TOTAL" else -- cgit v1.2.3-70-g09d2