From 611211b1a73a232db3cb36e189398ab79f8808e6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 23 Sep 2015 23:30:31 +0200 Subject: 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 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 -- cgit v1.2.3-70-g09d2