From 7fb89fa71a1d496c0b81588073dae11f229c6dfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 18 Mar 2010 17:16:49 +0000 Subject: [PATCH] - update version check Changed files: dokuwiki-plugin-blog.spec -> 1.5 --- dokuwiki-plugin-blog.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dokuwiki-plugin-blog.spec b/dokuwiki-plugin-blog.spec index ce72fd0..7a3b556 100644 --- a/dokuwiki-plugin-blog.spec +++ b/dokuwiki-plugin-blog.spec @@ -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 -- 2.43.0