summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2016-04-02 15:53:26 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-02 09:57:56 -0400
commitc0fb535593456b9b383b8943e0afb0216f2f101a (patch)
tree9d58eaa9f0a8b84e15f7b00a6b132d6a21f19c7f /bin
parentda78e45b1c6fbe0b6cb54c627f534a51cecefee7 (diff)
downloadjenkins.debian.net-c0fb535593456b9b383b8943e0afb0216f2f101a.tar.xz
reproducible: use REPRODUCIBLE_URL for package redirection form
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 8118f40a..6be67eb1 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -279,7 +279,7 @@ write_page_header() {
write_page "</ul></nav>"
if [ "$1" = "$MAINVIEW" ] ; then
LATEST=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT s.name FROM results AS r JOIN sources AS s ON r.package_id = s.id WHERE r.status IN ('unreproducible') AND s.suite = 'unstable' AND s.architecture = 'amd64' AND s.id NOT IN (SELECT package_id FROM notes) ORDER BY build_date DESC LIMIT 23"|sort -R|head -1)
- write_page "<form action=\"https://reproducible.debian.net/redirect\" method=\"GET\">https://reproducible.debian.net/"
+ write_page "<form action=\"$REPRODUCIBLE_URL/redirect\" method=\"GET\">$REPRODUCIBLE_URL/"
write_page "<input type=\"text\" name=\"SrcPkg\" placeholder=\"Type my friend..\" value=\"$LATEST\" />"
write_page "<input type=\"submit\" value=\"submit source package name\" />"
write_page "</form>"