Re: [dev] wmii; make with /bin/bash not with /bin/sh

From: Kris Maglione <>
Date: Thu, 20 May 2010 11:43:02 -0400

On Thu, 20 May 2010 14:51:37 +0200
David Schmid <> wrote:

> Hello dear subscribers,
> when compiling the wmii+ixp-3.9b1 on a solaris box, make
> calls /bin/sh to evaluate several scripts. Since /bin/sh is really
> old around here, make dies instantly because /bin/sh can't interpret
> the scripts ("/bin sh: bad substitution").
> Since relinking /bin/sh to /bin/bash is neiter a decent nor any
> option here, how do I get make to use /bin/bash and not /bin/sh?

Sorry, I've just reread this. Can you tell me exactly which scripts
fail to run under Solaris' sh? It might help to run

    noisycc=1 make

and post the output. The only place /bin/sh is called directly is in
the shebang line of the util scripts, and they're all very basic, so
I'm not sure why there would be a problem. If you're really desperate,
you just do something like:

for f in util/*; do
  ed $f <<EOF

but I'd really rather fix it to work out of the box.

Kris Maglione
Good judgement comes from experience, and experience comes from bad
	--Fred Brooks
Received on Thu May 20 2010 - 15:43:02 UTC

This archive was generated by hypermail 2.2.0 : Thu May 20 2010 - 15:48:02 UTC