diff --git a/htdocs/always.php b/htdocs/always.php index 2f41cfe7..69a6393d 100644 --- a/htdocs/always.php +++ b/htdocs/always.php @@ -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]; diff --git a/scripts/build-always.sh b/scripts/build-always.sh index 926ad2dd..085485dd 100755 --- a/scripts/build-always.sh +++ b/scripts/build-always.sh @@ -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}';/"