summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-30 17:50:09 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-30 17:50:09 +0200
commit2a046d8b431186b5171b1fca5acc6ea654fa1abc (patch)
tree658ef96821a9231e49822ebc837155a701eefe4b /bin/reproducible_stats.sh
parent3b24adfe4815e208f64d5e8e30f0d1967ea47c7f (diff)
downloadjenkins.debian.net-2a046d8b431186b5171b1fca5acc6ea654fa1abc.tar.xz
reproducible: use debbindiff instead of diffp to compare the two builds
Diffstat (limited to 'bin/reproducible_stats.sh')
-rwxr-xr-xbin/reproducible_stats.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index 8b57e340..ae8d9548 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -49,7 +49,11 @@ 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)
- htmlecho "<a href=\"$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp.log\">$PKG </a> "
+ 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
+ htmlecho "<a href=\"$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}.diffp.html\">$PKG </a> "
+ fi
done
htmlecho "</code></p>"
htmlecho