summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-16 14:40:32 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-16 14:40:32 +0100
commit0265f4163c9338afb1e054ff0fcafc78c968632b (patch)
tree81bf6fffd7a3c2b348b8bde010fe5685f525beed /bin
parentba2519433d13a264dfe427942b85944df3c58e2d (diff)
downloadjenkins.debian.net-0265f4163c9338afb1e054ff0fcafc78c968632b.tar.xz
reproducible: fix version comparison
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 9718be94..1ea91143 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -65,18 +65,6 @@ for PKG in $SOURCES ; do
CSID=""
CTEST=""
CEXP=""
- for i in $SID ; do
- if dpkg --compare-versions "$i" gt "$BET" ; then
- CSID="$CSID<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
- if [ ! -z "$BET" ] ; then
- CRUFT="$BET $CRUFT"
- BET=""
- OBSOLETE_IN_SID=true
- fi
- else
- CSID="$CSID$i<br />"
- fi
- done
if [ ! -z "$TESTING" ] ; then
for i in $TESTING ; do
if dpkg --compare-versions "$i" gt "$BET" ; then
@@ -96,6 +84,18 @@ for PKG in $SOURCES ; do
fi
done
fi
+ for i in $SID ; do
+ if dpkg --compare-versions "$i" gt "$BET" ; then
+ CSID="$CSID<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
+ if [ ! -z "$BET" ] ; then
+ CRUFT="$BET $CRUFT"
+ BET=""
+ OBSOLETE_IN_SID=true
+ fi
+ else
+ CSID="$CSID$i<br />"
+ fi
+ done
if [ ! -z "$BET" ] ; then
BET="<span class=\"green\">$BET</span>"
else