[Developers] [Patches] absolute paths in THORNLIST

Thomas Radke tradke at aei.mpg.de
Tue Feb 10 11:02:14 CST 2009


Frank Loeffler wrote:
> Hi,
> 
> On Mon, Feb 09, 2009 at 01:14:52PM -0600, Erik Schnetter wrote:
>> grep is not a problem; it's used elsewhere as well.
> 
> Good.
> 
>> Question: Is the strip around the THORNLIST necessary?  Doesn't the shell 
>> strip it off when it parses the arguments for the echo?
> 
> It can be on my linux system. I included it because of the other cases of
> strip and echo, thinking that maybe this might not the case always.
> 
> If you think it can always be removed, please do so.

Wouldn't something like the following be sufficient ?

# Directory for configuration options
ifeq ($(strip $(THORNLIST_DIR)), )
THORNLIST_DIR = $(dir $(THORNLIST))
endif

-- 
Cheers, Thomas.


More information about the Developers mailing list