diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-29 21:38:34 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-29 21:38:34 +0000 |
commit | c40f3fec393a7ec8b3060ec55ec27bffb5a856a7 (patch) | |
tree | a83c85caccbec4be8180f687e3d7ce14bc0c55d7 /bin/reproducible_stats.sh | |
parent | 5cc58bc4d8a7acf730e7f540d682b114d1a26483 (diff) | |
download | jenkins.debian.net-c40f3fec393a7ec8b3060ec55ec27bffb5a856a7.tar.xz |
reproducible: fix problem with epochs
Diffstat (limited to 'bin/reproducible_stats.sh')
-rwxr-xr-x | bin/reproducible_stats.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 4f043d3d..3d9b15a5 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -56,7 +56,8 @@ htmlecho htmlecho "<p>$COUNT_UGLY packages failed to build from source: <code>" for PKG in $UGLY ; do VERSION=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT version FROM source_packages WHERE name = \"$PKG\"") - # keep epoch + # remove epoch + VERSION=$(echo $VERSION | cut -d ":" -f2) if [ -f "/var/lib/jenkins/userContent/pbuilder/${PKG}_${VERSION}.pbuilder.log" ] ; then htmlecho "<a href=\"$JENKINS_URL/userContent/pbuilder/${PKG}_${VERSION}.pbuilder.log\">$PKG </a> " else |