فهرست منبع

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

Ralf S. Engelschall 24 سال پیش
والد
کامیت
69fb1935c8
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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
             ;;