template-specs: dokuwiki-plugin.spec - better match for version from syntax...

glen glen at pld-linux.org
Tue Nov 2 09:03:14 CET 2010


Author: glen                         Date: Tue Nov  2 08:03:14 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- better match for version from syntax.php (avoid fp)

---- Files affected:
template-specs:
   dokuwiki-plugin.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: template-specs/dokuwiki-plugin.spec
diff -u template-specs/dokuwiki-plugin.spec:1.15 template-specs/dokuwiki-plugin.spec:1.16
--- template-specs/dokuwiki-plugin.spec:1.15	Sun Oct  3 14:30:03 2010
+++ template-specs/dokuwiki-plugin.spec	Tue Nov  2 09:03:07 2010
@@ -37,7 +37,7 @@
 
 version=$(cat VERSION)
 version=$(awk '/date/{print $2}' plugin.info.txt)
-version=$(awk -F"'" '/date/{print $4}' syntax.php)
+version=$(awk -F"'" '/date/&&/=>/{print $4}' syntax.php)
 if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
 	: %%{version} mismatch
 	exit 1
@@ -79,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2010/11/02 08:03:07  glen
+- better match for version from syntax.php (avoid fp)
+
 Revision 1.15  2010/10/03 12:30:03  glen
 - source0 sample
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/dokuwiki-plugin.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list