]> git.pld-linux.org Git - packages/davical.git/blame - awl_version.patch
- updated gettext BR
[packages/davical.git] / awl_version.patch
CommitLineData
1db28660 1--- davical-1.0.2/scripts/build-always.sh~ 2011-09-11 13:46:40.000000000 +0200
2+++ davical-1.0.2/scripts/build-always.sh 2012-01-18 23:30:09.179982600 +0100
3@@ -5,9 +5,9 @@
4
5 DAVICAL_VERSION="`head -n1 VERSION`"
6 DB_VERSION="`grep 'SELECT new_db_revision' dba/davical.sql | cut -f2 -d'(' | cut -f1-3 -d,`"
7-AWL_VERSION="`head -n1 ../awl/VERSION`"
8+
9 if [ -z "${AWL_VERSION}" ] ; then
10- AWL_VERSION="'`grep 'want_awl_version' inc/always.php.in | cut -f2 -d= | cut -f1 -d';' | sed 's: ::g'`'"
11+ AWL_VERSION="`grep 'want_awl_version' inc/always.php.in | cut -f2 -d= | cut -f1 -d';' | sed 's: ::g'`"
12 fi
13
14 sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \
This page took 0.047893 seconds and 4 git commands to generate.