[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: build: don't quote integer in SQL

Holger Levsen holger at layer-acht.org
Mon Dec 19 14:02:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 2bf4a24cafcb0273a79aa1b11b6f2425f65eba29
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Dec 19 15:00:32 2016 +0100

    reproducible debian: build: don't quote integer in SQL
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 52f40d4..0984235 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -310,7 +310,7 @@ handle_reproducible() {
 
 unregister_build() {
 	# unregister this build so it will immeditiatly tried again
-	query_db "UPDATE schedule SET date_build_started = NULL, job = NULL WHERE package_id='$SRCPKGID'"
+	query_db "UPDATE schedule SET date_build_started = NULL, job = NULL WHERE package_id=$SRCPKGID"
 	NOTIFY=""
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list