Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-06-21 22:16:37


Craig Rodrigues wrote:
> Hi,
>
> The "whence" command is not available on all Unix variants,

You mean all "shells" not "Unix variants".

> so I suggest that it be replace by "type"
> which is builtin for the /bin/sh shell.

"whence" *is* a builtin for bourne shell. You must mean that it's not a
builtin for bash.

> This will get rid of error messages that build.sh prints out
> when I build bjam on Linux and FreeBSD.

OK, I never got warnings on RedHat, so I guess it has a real bourne
shell (or something closer to a real one) instead of a symlink from "sh"
to "bash".

Sorry but I can't apply the patch as it's going to break other Unix like
systems, like OpenBSD and Solaris. Is there some way to check that the
shell isn't really a bourne shell but a bash shell?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk