summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-15 22:40:42 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-15 22:40:42 +0200
commita855cde06343fdcdcd0388d5825a50e272fb0846 (patch)
tree49355491a60fa513fe6dfa08d7e96be6e62e4c2b /bin
parentcf359eb1008ae8bc22c7a8bd67e6862718e1351f (diff)
downloadjenkins.debian.net-a855cde06343fdcdcd0388d5825a50e272fb0846.tar.xz
reproducible: bugfix ambigious redirect with write_icon()
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_stats.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index d0761e33..4a88ade0 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -397,8 +397,8 @@ init_pkg_page() {
echo "<link href=\"../static/style.css\" type=\"text/css\" rel=\"stylesheet\" />" >> ${PKG_FILE}
echo "<title>$1 - reproducible builds results</title></head>" >> ${PKG_FILE}
echo "<body><table class=\"head\"><tr><td><span style=\"font-size:1.2em;\">$1</span> $2" >> ${PKG_FILE}
- set_icon "$3" $5
- write_icon
+ set_icon "$3" $5 # this sets $STATE_TARGET_NAME and $ICON
+ echo "<a href=\"$JENKINS_URL/userContent/index_${STATE_TARGET_NAME}.html\" target=\"_parent\"><img src=\"$JENKINS_URL/userContent/static/$ICON\" alt=\"${STATE_TARGET_NAME} icon\" /></a>" >> ${PKG_FILE}
echo "<span style=\"font-size:0.9em;\">at $4:</span> " >> ${PKG_FILE}
}