Browse Source

Finally make the damn regex grep portable. Last commit of this pig!

Ralf S. Engelschall 24 years ago
parent
commit
69fb1935c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pgp2/pgp2.spec

+ 2 - 2
pgp2/pgp2.spec

@@ -72,12 +72,12 @@ AutoReqProv:  no
     CFLAGS="%{l_cflags -O}"
     case "%{l_target}" in
         *-freebsd* )
-            if ( %{l_cc} --version | grep -i -e "gcc" ); then
+            if ( %{l_cc} --version | egrep -i -e "gcc" ); then
                 CFLAGS="$CFLAGS -pthread"
             fi
             ;;
         *-solaris* )
-            if ( %{l_cc} --version | grep -i -e "gcc" ); then
+            if ( %{l_cc} --version | egrep -i -e "gcc" ); then
                 CFLAGS="$CFLAGS -pthreads"
             fi
             ;;