Explorar o código

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

Ralf S. Engelschall %!s(int64=24) %!d(string=hai) anos
pai
achega
69fb1935c8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
             ;;