packages: davical/awl_version.patch (NEW) - apostrophes typo; don't search ...

zbyniu zbyniu at pld-linux.org
Thu Jan 19 00:16:54 CET 2012


Author: zbyniu                       Date: Wed Jan 18 23:16:54 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- apostrophes typo; don't search in ../awl, now we can specify AWL_VERSION from spec

---- Files affected:
packages/davical:
   awl_version.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/davical/awl_version.patch
diff -u /dev/null packages/davical/awl_version.patch:1.1
--- /dev/null	Thu Jan 19 00:16:54 2012
+++ packages/davical/awl_version.patch	Thu Jan 19 00:16:49 2012
@@ -0,0 +1,14 @@
+--- davical-1.0.2/scripts/build-always.sh~	2011-09-11 13:46:40.000000000 +0200
++++ davical-1.0.2/scripts/build-always.sh	2012-01-18 23:30:09.179982600 +0100
+@@ -5,9 +5,9 @@
+ 
+ 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' 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
+ 
+ sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \
================================================================


More information about the pld-cvs-commit mailing list