RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ configure.ac

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Tue 17 Jul 2007 - 21:44:02 CEST
Message-Id: <20070717194402.5FBFC3484EE@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: rpm                              Date:   17-Jul-2007 21:44:02
  Branch: HEAD                             Handle: 2007071720440200

  Modified files:
    rpm                     configure.ac

  Log:
    simplify egrep(1) use cases

  Summary:
    Revision    Changes     Path
    2.201       +2  -2      rpm/configure.ac
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/configure.ac
  ============================================================================
  $ cvs diff -u -r2.200 -r2.201 configure.ac
  --- rpm/configure.ac	17 Jul 2007 19:10:34 -0000	2.200
  +++ rpm/configure.ac	17 Jul 2007 19:44:02 -0000	2.201
  @@ -249,9 +249,9 @@
       AC_ARG_ENABLE([broken-chown],
       [  --enable-broken-chown   this system's chown follows symbolic links], 
   	    result=$enableval, result=unknown)
  -    if echo "$build" | egrep "(aix)|(hpux)|(linux)" > /dev/null ; then
  +    if echo "$build" | egrep "(aix|hpux|linux)" >/dev/null; then
   	result=yes
  -    elif echo "$build" | egrep "(nextstep)" > /dev/null ; then
  +    elif echo "$build" | grep "nextstep" >/dev/null; then
   	result=no
       fi
       if test $result = unknown; then
  @@ .
Received on Tue Jul 17 21:44:02 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.