summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_graphs.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-11 22:50:06 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-11 22:50:06 +0100
commit5cae20936070d6255fcdb0108eaf4ab8e0a73d11 (patch)
treef1d1eafa2e5ca21a06292b41a5d45aae172de51c /bin/reproducible_html_graphs.sh
parent0b5eb2f8a34f49df2ed3af20e3aa54038df8c6fa (diff)
downloadjenkins.debian.net-5cae20936070d6255fcdb0108eaf4ab8e0a73d11.tar.xz
fix typo
Diffstat (limited to 'bin/reproducible_html_graphs.sh')
-rwxr-xr-xbin/reproducible_html_graphs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index fded809a..754bd425 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -300,7 +300,7 @@ create_png_from_table() {
else
sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT ${FIELDS[$1]} from ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
fi
- # only generate graph is the query returned data
+ # only generate graph if the query returned data
if [ $(cat ${TABLE[$1]}.csv | wc -l) -gt 1 ] ; then
echo "Updating $2..."
DIR=$(dirname $2)