bug-make
[Top][All Lists]
Advanced

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

RE: Bug: make igores options, switches and targets


From: Dave Korn
Subject: RE: Bug: make igores options, switches and targets
Date: Fri, 19 Jan 2007 13:21:05 -0000

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....





reply via email to

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