On 19 January 2007 11:57, James Coleman wrote:

> Is your make aliased to something else or is it a script ?
> And if it is invoked from sh is the same make invoked?
> Could there be any environment difference causing the problem?
>   which make
>   sh -c 'which make'
>   ls -al `which make`
>   alias |grep make
>   sh -c 'alias |grep make'
> 
> Looking for things like that might be worthwhile.

  You can use the 'which' shell builtin, it tells you at once and saves you
having to search it out:

/artimi/software/firmware $ type make
make is /artimi/tools/cygwin/bin/make
/artimi/software/firmware $ type type
type is a shell builtin
/artimi/software/firmware $ type cls
cls is aliased to `cmd /c cls'
/artimi/software/firmware $ sh -c 'type make'
make is /artimi/tools/cygwin/bin/make
/artimi/software/firmware $ sh -c 'type type'
type is a shell builtin
/artimi/software/firmware $ sh -c 'type cls'
sh: line 0: type: cls: not found
/artimi/software/firmware $

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to