summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-19 18:47:59 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-19 23:26:33 +0200
commit6d42794e0805ac28135ec2ff008ea8088782361b (patch)
treec9f2a19b3782f1e314e3a17abd6dbce2e59791b3 /bin
parent322b9d38e3ef322bc81209eb17120f16b2478765 (diff)
downloadjenkins.debian.net-6d42794e0805ac28135ec2ff008ea8088782361b.tar.xz
reproducible: build: fix quotation. Thanks Lunar!
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3c016cd2..4369435c 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -300,7 +300,7 @@ init() {
echo "Trying to reproducibly build ${SRCPACKAGE} in ${SUITE} on ${ARCH} now. $AANOUNCE"
echo "============================================================================="
# 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} "REPLACE INTO schedule (package_id, date_scheduled, date_build_started) VALUES ('$SRCPKGID', '$SCHEDULED_DATE', '$DATE');"
else
handle_race_condition db