]> git.pld-linux.org Git - packages/dokuwiki-plugin-blog.git/commitdiff
- update version check
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 18 Mar 2010 17:16:49 +0000 (17:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-blog.spec -> 1.5

dokuwiki-plugin-blog.spec

index ce72fd0203daf8ecdfc3efde9e75328f8ce4901b..7a3b5563d3aa7e60ad63d463965e33b3dc73be65 100644 (file)
@@ -24,8 +24,9 @@ This plugin makes blogs in your wiki easily possible.
 
 %prep
 %setup -q -n %{plugin}
-if [ $(cat VERSION | tr -d -) != %{version} ]; then
-       : %%{version} mismatch, should be: $(cat VERSION | tr -d -)
+version=$(cat VERSION)
+if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
+       : %%{version} mismatch
        exit 1
 fi
 
This page took 0.091724 seconds and 4 git commands to generate.