tech-toolchain archive

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

Re: make (was: Re: re: build.sh release failure with relative path)



On Thu, 25 Mar 2010, David Holland wrote:
> On a related matter, can anyone think of any reason why make shouldn't
> absolutize its path to itself?

Do you mean, when you run "./make", that you want it to set ${MAKE}
to "/some/absolute/path/make"?  That seems like a good idea.  On the
other hand, when you just run "make" and the shell or kernel finds
/usr/bin/make by searching the PATH, it seems reasonable to leave
${MAKE} set to just "make", not to "/usr/bin/make".  I suppose it could
distinguish between the two cases by looking for a slash.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index