[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: autogen.sh patch

From: Bruce Korb <bkorb_at_sco.COM>
Date: 2000-09-27 16:22:22 CEST

Branko C(ibej wrote:
> Daniel Stenberg wrote:
> > # Toss config.cache if configure itself has changed.
> > -if ! cmp configure configure.$$.tmp > /dev/null 2>&1; then
> > +cmp configure configure.$$.tmp > /dev/null 2>&1
> > +if [ $? = 1 ]; then
> > echo "Tossing config.cache, since configure has changed."
> > rm -f config.cache
> > fi
> >
> Better make that `[ $? != 0 ]', unless you're absolutely sure cmp can
> only exit with 0 or 1.

Better make that ``test $? -ne 0'' unless you're absolutely sure that
everyone who uses this will be using a modern shell. (Someone complained
of my product only yesterday.....)-:
Received on Sat Oct 21 14:36:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.