mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-26 12:49:35 +00:00
Build AWL desired version string as quoted value.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
d15a190134
commit
0de150ed74
@ -169,7 +169,7 @@ init_gettext( 'davical', $c->locale_path );
|
||||
*
|
||||
*/
|
||||
$c->code_version = 0;
|
||||
$c->want_awl_version = 0.46;
|
||||
$c->want_awl_version = '0.46';
|
||||
$c->version_string = '0.9.9.4'; // The actual version # is replaced into that during the build /release process
|
||||
if ( isset($c->version_string) && preg_match( '/(\d+)\.(\d+)\.(\d+)(.*)/', $c->version_string, $matches) ) {
|
||||
$c->code_major = $matches[1];
|
||||
|
||||
@ -12,4 +12,4 @@ fi
|
||||
|
||||
sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \
|
||||
-e "/^ *.c->want_dbversion *=.*$/ s/^ *.c->want_dbversion *=.*$/\$c->want_dbversion = array(${DB_VERSION});/" \
|
||||
-e "/^ *.c->want_awl_version *=.*$/ s/^ *.c->want_awl_version *=.*$/\$c->want_awl_version = ${AWL_VERSION};/"
|
||||
-e "/^ *.c->want_awl_version *=.*$/ s/^ *.c->want_awl_version *=.*$/\$c->want_awl_version = '${AWL_VERSION}';/"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user