summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-28 15:27:17 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-28 15:27:17 +0200
commitff990ff3b31094cb9fecd1947d6ce37a8339718a (patch)
tree1934f350c1dabbe6c6e77d92c94eb57d550f64bc /bin/reproducible_stats.sh
parentabe5683ebd4e172fde935838770c4558096b7030 (diff)
downloadjenkins.debian.net-ff990ff3b31094cb9fecd1947d6ce37a8339718a.tar.xz
reproducible: remove epoch when creating links to logfiles
Diffstat (limited to 'bin/reproducible_stats.sh')
-rwxr-xr-xbin/reproducible_stats.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index 204f3454..4b07c816 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -40,6 +40,8 @@ htmlecho "<p>$COUNT_TOTAL packages attempted to build so far, out of $AMOUNT in
htmlecho "<p>$COUNT_BAD packages ($PERCENT_BAD% of $COUNT_TOTAL) failed to built reproducibly: <code>"
for PKG in $BAD ; do
VERSION=$(sqlite3 $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> "
done
htmlecho "</code></p>"