help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd effects from setting SHELL?


From: Christian Convey
Subject: Re: Odd effects from setting SHELL?
Date: Mon, 25 Jun 2007 12:05:08 -0400

Holy smokes, Bob - thanks for the complete explanation!

Here's the odd thing I was seeing, but can no longer reproduce.  Does
it ring any bells?

Most users of the makefiles had no problems, but most users also had
csh as their default shells.  I have bash as a default shell, and I
had problems.  Specifically, lines like this:

  makedepend >& /dev/null

I said to myself, "That looks like valid csh redirection, but invalid
bash redirection.  I  bet that's the problem.

So I changed this to:
  makedepend > /dev/null 2>&1
and now everything seems to work ok for everyone.

So what puzzles me is that I was seeming to get a build error that was
shell-specific.  Yet I see plenty of information from man pages, folks
like you, etc. that say I should never be seeing shell-specific build
errors.

Thanks,
Christian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]