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