POV-Ray : Newsgroups : povray.unix : Re: povray 3.6 make error: problem solved : Re: povray 3.6 make error: problem solved Server Time
3 Jul 2024 04:48:42 EDT (-0400)
  Re: povray 3.6 make error: problem solved  
From: Tim F
Date: 29 Jul 2004 14:25:00
Message: <web.41094075333fb3524e6ed3100@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
>
>  Now the question is: why do you prepend $CPLUS_INCLUDE_PATH in the
> first place ?  I'd expect to _append_ it to your own list of paths, thus
> preventing this implicit "." to be added automatically:
>
> export CPLUS_INCLUDE_PATH=/dir/to/add:/another/one:${CPLUS_INCLUDE_PATH}
>

sure, but this still isn't a guaranteed win.  CPLUS_INCLUDE_PATH could be
modified further by some other program/script, and there's no way one can
be sure to be consistent/correct 100% of the time.  I guess thats why I
like using the bash:

${param:+word}

construct - it will check if param is set, at least, and do the Right Thing
if it isn't.

The struggle continues.  ;)

Regards,
Tim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.