]> git.pld-linux.org Git - packages/dokuwiki-plugin-blog.git/blobdiff - dokuwiki-plugin-blog.spec
- update version check
[packages/dokuwiki-plugin-blog.git] / 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.057147 seconds and 4 git commands to generate.