summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-02 23:07:15 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-02 23:07:15 +0100
commit73f3b0cfb30f3e3e5882e50e7864b7783b55d380 (patch)
tree4b57639b838b50b9fce9d7eea32d42d2ec04a3e2
parenta6acb4f12c943e016ef0fe5083eb22d9ee88ccf4 (diff)
downloadjenkins.debian.net-73f3b0cfb30f3e3e5882e50e7864b7783b55d380.tar.xz
reproducible: /home/holgi/Projects/jenkins.debian.net/jenkins.debian.net usually exists...
-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 e8861610..6124a8e6 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -223,7 +223,7 @@ redo_png() {
sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT ${FIELDS[$1]} from ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
# only generate graph is the query returned data
if [ $(cat ${TABLE[$1]}.csv | wc -l) -gt 1 ] ; then
- mkdir $(dirname $2)
+ mkdir -p $(dirname $2)
/srv/jenkins/bin/make_graph.py ${TABLE[$1]}.csv $2 ${COLOR[$1]} "${MAINLABEL[$1]}" "${YLABEL[$1]}"
mv $2 /var/lib/jenkins/userContent/$SUITE
rmdir $(dirname $2)