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

Re: autogen

From: Russ Allbery <rra_at_stanford.edu>
Date: 2001-11-27 19:39:24 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:
> Michael Mounteney <gate02@landcroft.co.uk> writes:

>> May I make some suggestions about the `autogen.sh' script ?

>> 1. The first line is #!/bin/sh but in fact it uses the Korn shell
>> construction $( ... ). Was the script developed on a system on which
>> the Korn shell is default ? The first line should be #!/bin/ksh

> No, the script is intended to be Bourne, not Korn, for maximum
> portability.

> Is the construction illegal under Bourne? (I'm wondering why we haven't
> gotten bug reports about this yet, considering that Subversion builds
> are tested on many different Unix platforms...)

It's not illegal under POSIX, but $(...) isn't supported by Solaris
/bin/sh (which predates POSIX and is not POSIX-compliant). You have to
use backticks instead.

Russ Allbery (rra_at_stanford.edu)             <http://www.eyrie.org/~eagle/>
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

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