From 90316bb26d707bd5185093d62d3a3a6dc10a2b51 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 30 Sep 2014 17:53:41 +0200 Subject: reproducible: prefer html logs --- bin/reproducible_stats.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_stats.sh') 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 "$PKG " - else + if [ -f "/var/lib/jenkins/userContent/diffp/${PKG}_${VERSION}.diffp.html" ] ; then htmlecho "$PKG " + else + htmlecho "$PKG " fi done htmlecho "

" -- cgit v1.2.3-70-g09d2