Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 5680 invoked by uid 6000); 3 Nov 1997 18:33:49 -0000 Received: (qmail 5670 invoked from network); 3 Nov 1997 18:33:48 -0000 Received: from devsys.jagunet.com (206.156.208.6) by taz.hyperreal.org with SMTP; 3 Nov 1997 18:33:48 -0000 Received: (from jim@localhost) by devsys.jaguNET.com (8.8.7/jag-2.4) id NAA12038 for new-httpd@apache.org; Mon, 3 Nov 1997 13:33:43 -0500 (EST) From: Jim Jagielski Message-Id: <199711031833.NAA12038@devsys.jaguNET.com> Subject: Re: [BUG]: old shells don't like "if ! egrep ..." To: new-httpd@apache.org Date: Mon, 3 Nov 1997 13:33:42 -0500 (EST) In-Reply-To: <19971103185513.18617@deejai.mch.sni.de> from "Martin Kraemer" at Nov 3, 97 06:55:13 pm X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org +1... I though I had cleared all that non-standard stuff out. Oh well. Martin Kraemer wrote: > > > --lrZ03NoBR/3+SXJZ > Content-Type: text/plain; charset=us-ascii > > I just noted a problem on non-bash shells with the recently added > /usr/local/etc/httpd/ directory test: > > When executing the Configure line > if ! egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null > they complain: > ./Configure: !: not found > > The Q&D patch makes it do what it should do, even for old shells. > > Martin > -- > | S I E M E N S | | Siemens Nixdorf > | ------------- | Voice: +49-89-636-46021 | Informationssysteme AG > | N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany > ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request > > --lrZ03NoBR/3+SXJZ > Content-Type: text/plain; charset=us-ascii > Content-Description: Configure patch for /usr/local/etc/httpd directory test fix > Content-Disposition: attachment; filename="conf.patch" > > --- Configure.bak Mon Nov 3 10:18:52 1997 > +++ Configure Mon Nov 3 18:52:50 1997 > @@ -105,8 +105,10 @@ > # > > test ! -d /usr/local/etc/httpd/ \ > - || if ! egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null > + || if egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null > then > + : > + else > echo " | Please note that the default httpd root directory has changed" > echo " | from '/usr/local/etc/httpd/' to '/usr/local/apache/.'" > echo " | You may add '-DHTTPD_ROOT=\\\"/usr/local/etc/httpd\\\"' to EXTRA_CFLAGS" > > --lrZ03NoBR/3+SXJZ-- > -- ==================================================================== Jim Jagielski | jaguNET Access Services jim@jaguNET.com | http://www.jaguNET.com/ "Look at me! I'm wearing a cardboard belt!"