summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-25 13:05:32 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-25 13:05:32 +0100
commit190a49f9669ccd97d54226e85d16d2da873c25d2 (patch)
tree2e946246e7313c684f02c015bfb9b27b031511d7 /bin
parent9e61343a5fd050162e81f4662b559f408a1a2032 (diff)
downloadjenkins.debian.net-190a49f9669ccd97d54226e85d16d2da873c25d2.tar.xz
fixup last commit
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_repo_stats.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index e8077f08..6dd12b2b 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -50,7 +50,7 @@ for PKG in $SOURCES ; do
CRUFT="$CRUFT ${VERSION}"
fi
done
- EXP=$(rmadison -s experimental $PKG | cut -d "|" -f2|xargs echo)
+ EXPERIMENTAL=$(rmadison -s experimental $PKG | cut -d "|" -f2|xargs echo)
#
# format output
#
@@ -74,16 +74,17 @@ for PKG in $SOURCES ; do
if [ ! -z "$CRUFT" ] ; then
CRUFT="$(echo $CRUFT|sed 's# #<br />#g')"
fi
- if [ ! -z "$EXP" ] ; then
+ if [ ! -z "$EXPERIMENTAL" ] ; then
CEXP=""
if [ "${PKG:0:3}" == "lib" ] ; then
PREFIX=${PKG:0:4}
else
PREFIX=${PKG:0:1}
fi
- for i in $EXP ; do
+ for i in $EXPERIMENTAL ; do
CEXP="$CEXP<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
done
+ EXPERIMENTAL=$CEXP
fi
#
# write output
@@ -92,7 +93,7 @@ for PKG in $SOURCES ; do
write_page "<td>$BET</td>"
write_page "<td>$CSID</td>"
write_page "<td>$CRUFT</td>"
- write_page "<td>$CEXP</td>"
+ write_page "<td>$EXPERIMENTAL</td>"
write_page "</tr>"
done
write_page "</table></p>"