]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- better match for version from syntax.php (avoid fp)
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 2 Nov 2010 08:03:07 +0000 (08:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin.spec -> 1.16

dokuwiki-plugin.spec

index ec849fdefba08f340892641571ee3d4b70b11ae7..6e490ddd2d5079a56006feecb35c08a42890c837 100644 (file)
@@ -36,7 +36,7 @@ mv %{plugin}/* .
 
 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
This page took 0.066131 seconds and 4 git commands to generate.