- egrep is deprecated (use grep -E)
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 5 Nov 2010 16:59:13 +0000 (16:59 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 5 Nov 2010 16:59:13 +0000 (16:59 +0000)
Changed files:
    dokuwiki-plugin-poldek.spec -> 1.2

dokuwiki-plugin-poldek.spec

index 98b0420..65b0d88 100644 (file)
@@ -47,7 +47,7 @@ cd -
 tag=%{name}-%(echo %{version} | tr . _)-%(echo %{release} | tr . _)
 
 cd %{_specdir}
-if [ $(cvs status -v %{name}.spec | egrep -c "$tag[[:space:]]") != 0 ]; then
+if [ $(cvs status -v %{name}.spec | grep -Ec "$tag[[:space:]]") != 0 ]; then
        : "Tag $tag already exists"
        exit 1
 fi
This page took 0.113976 seconds and 4 git commands to generate.