summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-19 19:29:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-19 19:29:18 +0200
commit704aa6cdc537e75fcc38df28bc46fd7437ca96d7 (patch)
tree4ba93ed7a54c3984c7e3633ef68799b386c6b170
parent7a72d2a8ba7f95888421fcf5369faf07f9a541e1 (diff)
downloadjenkins.debian.net-704aa6cdc537e75fcc38df28bc46fd7437ca96d7.tar.xz
reproducible: fix typo
-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 d9fc358c..0f146d4f 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -233,7 +233,7 @@ write_page_header() {
write_page "<li><a href=\"https://wiki.debian.org/ReproducibleBuilds\" target=\"_blank\">wiki</a></li>"
write_page "</ul>"
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.arch = 'amd64' AND s.id NOT IN (SELECT package_id FROM notes) ORDER BY build_date DESC LIMIT 23"|sort -R|head -1)
+ 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 onsubmit=\"location.href='https://reproducible.debian.net/' + document.getElementById('SrcPkg').value; return false;\">"
write_page "https://reproducible.debian.net/<input type=\"text\" id=\"SrcPkg\" value=\"$LATEST\"/>"
write_page "<input type=\"submit\" value=\"submit source package name\" />"