[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: improve quoting
Holger Levsen
holger at moszumanska.debian.org
Wed Sep 23 21:30:52 UTC 2015
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 611211b1a73a232db3cb36e189398ab79f8808e6
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Sep 23 23:30:31 2015 +0200
reproducible: improve quoting
---
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 6e1b922..de1b269 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -433,7 +433,7 @@ init_package_build() {
fi
rm -f $BAD_BUILDS
# mark build attempt
- if [ -z "$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT date_build_started FROM schedule WHERE package_id = '$SRCPKGID'")" ] ; then
+ if [ -z "$(sqlite3 -init $INIT ${PACKAGES_DB} 'SELECT date_build_started FROM schedule WHERE package_id = \"$SRCPKGID\"')" ] ; then
sqlite3 -init $INIT ${PACKAGES_DB} "UPDATE schedule SET date_build_started='$DATE', builder='$BUILDER' WHERE package_id = '$SRCPKGID'"
else
BAD_LOCKFILE=true
--
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