diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-23 23:30:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-23 23:30:31 +0200 |
commit | 611211b1a73a232db3cb36e189398ab79f8808e6 (patch) | |
tree | 66739dad632fbd2880835918630463d09cc7369e | |
parent | b883a03b574d38fbd675bff2b4cd543dd678ebf4 (diff) | |
download | jenkins.debian.net-611211b1a73a232db3cb36e189398ab79f8808e6.tar.xz |
reproducible: improve quoting
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 6e1b922c..de1b2692 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 |