Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2003-07-24 09:23:04

[2003-07-24] Toon Knapen wrote:

>I have adapted the in boost/tools/regression to take the
>ALL_LOCATE_TARGET into account. This requires following changes:
>$process_jam_log $ALL_LOCATE_TARGET < regress.log
>Instead of
>Cat regress.log | $process_jam_log
>(the latter also causes a warning since process_jam_log expects
>Additionally, compiler_status will need the extra command-line arguments
>: --local-root $ALL_LOCATE_TARGET
>This would make the script run without a problem when ALL_LOCATE_TARGET
>would be defined in the environment. But what if ALL_LOCATE_TARGET is
>not defined, the script will not function correctly anymore. So ideally
>there should be a way to test the ALL_LOCATE_TARGET env.var. and define
>it to $boost_root otherwise but I'm not sure how to do that. Rene ?


if test -z "$ALL_LOCATE_TARGET" ; then
    export ALL_LOCATE_TARGET=$boost_root

The quotes are important in this case, as it otherwise would think there's
no argument to the test.

-- grafik - Don't Assume Anything
-- rrivera (at) - grafik (at)
-- 102708583 (at) icq

Boost list run by bdawes at, gregod at, cpdaniel at, john at