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

autogen

From: Michael Mounteney <gate02_at_landcroft.co.uk>
Date: 2001-11-27 11:04:05 CET

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

2. The script uses constructions of the form

        $(which gsometool sometool 2>/dev/null) | head -1

to find what tools are available. On Solaris 8, if a tool be not found,
`which' generates a line of the form

        no gsometool in path1 path2 ....

so it seems that the `search' construction should be

        $(which gsometool sometool 2>/dev/null | grep -v '^no ' | head -1

in order to eliminate the report from `which'.

-- 
_______________________________________
Michael Mounteney, technical director.
Mobile 07932 106754.
Landcroft Computing Ltd., 01743 360155.
---------------------------------------------------------------------
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.

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