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 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. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - Grafik/

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at