mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
fix scripts/build-always.sh: AWL_VERSION is always without quotes
This commit is contained in:
parent
0cc7b944b4
commit
269a24dbb5
@ -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,`"
|
DB_VERSION="`grep 'SELECT new_db_revision' dba/davical.sql | cut -f2 -d'(' | cut -f1-3 -d,`"
|
||||||
AWL_VERSION="`head -n1 ../awl/VERSION`"
|
AWL_VERSION="`head -n1 ../awl/VERSION`"
|
||||||
if [ -z "${AWL_VERSION}" ] ; then
|
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
|
fi
|
||||||
|
|
||||||
sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \
|
sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user