mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Some changes to allow for snapshot builds.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
1 parent
f59e109ace
commit
6f50f3e2e2
2 files changed
+4
-1
No files matched your search
@@ -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' htdocs/always.php | cut -f2 -d= | cut -f1 -d';'`"
|
||||
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}';/" \
|
||||
|
||||
Reference in new issue
Block a user