bug-make
[Top][All Lists]
Advanced

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

Re: interactive shell is incorrect


From: Paul D. Smith
Subject: Re: interactive shell is incorrect
Date: Thu, 5 Jun 2003 09:35:38 -0400

%% "David Thompson" <address@hidden> writes:

  dt> Could someone explain this behavior?

Maybe.  Do you have either the $ENV or $BASH_ENV variables set?  If so
that probably explains the behavior.  See the bash man page for more
information.

Also note that on some Linux systems /bin/sh (which is what make uses as
a shell unless you set SHELL, which you do sometimes in your examples
but not other times) is not really bash, but rather ash or some other
Bourne shell.

Also remember that even if /bin/sh is really bash, bash behaves
differently when invoked as sh, and unless you set SHELL make will
always use /bin/sh.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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