summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-30 17:53:41 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-30 17:53:41 +0200
commit90316bb26d707bd5185093d62d3a3a6dc10a2b51 (patch)
tree5abeb202f97fe6570c5948feace48fc95f61cdb1 /bin
parent2a046d8b431186b5171b1fca5acc6ea654fa1abc (diff)
downloadjenkins.debian.net-90316bb26d707bd5185093d62d3a3a6dc10a2b51.tar.xz
reproducible: prefer html logs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_stats.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index ae8d9548..d2d92638 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -49,10 +49,10 @@ for PKG in $BAD ; do
VERSION=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT version FROM source_packages WHERE name = \"$PKG\"")
# remove epoch
VERSION=$(echo $VERSION | cut -d ":" -f2)
- if [ -f "/var/lib/jenkins/userContent/diffp/${PKG}_${VERSION}.diffp.log" ] ; then
- htmlecho "<a href=\"$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp.log\">$PKG </a> "
- else
+ if [ -f "/var/lib/jenkins/userContent/diffp/${PKG}_${VERSION}.diffp.html" ] ; then
htmlecho "<a href=\"$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp.html\">$PKG </a> "
+ else
+ htmlecho "<a href=\"$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp.log\">$PKG </a> "
fi
done
htmlecho "</code></p>"