From 269a24dbb534d00524daae36e38ddcde07c896dd Mon Sep 17 00:00:00 2001 From: Florian Schlichting Date: Mon, 20 Oct 2014 23:46:40 +0200 Subject: [PATCH] fix scripts/build-always.sh: AWL_VERSION is always without quotes --- scripts/build-always.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-always.sh b/scripts/build-always.sh index 085485dd..f62087d4 100755 --- a/scripts/build-always.sh +++ b/scripts/build-always.sh @@ -7,7 +7,7 @@ DAVICAL_VERSION="`head -n1 VERSION`" DB_VERSION="`grep 'SELECT new_db_revision' dba/davical.sql | cut -f2 -d'(' | cut -f1-3 -d,`" AWL_VERSION="`head -n1 ../awl/VERSION`" if [ -z "${AWL_VERSION}" ] ; then - AWL_VERSION="'`grep 'want_awl_version' inc/always.php.in | cut -f2 -d= | cut -f1 -d';' | sed 's: ::g'`'" + AWL_VERSION="`grep 'want_awl_version' inc/always.php.in | cut -f2 -d= | cut -f1 -d';' | sed 's: ::g'`" fi sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \