From c40f3fec393a7ec8b3060ec55ec27bffb5a856a7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 29 Sep 2014 21:38:34 +0000 Subject: reproducible: fix problem with epochs --- bin/reproducible_stats.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_stats.sh') 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 "

$COUNT_UGLY packages failed to build from source: " 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 "$PKG " else -- cgit v1.2.3-70-g09d2