summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_build.sh')
-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 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