Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2007-10-10 03:40:05


Author: vladimir_prus
Date: 2007-10-10 03:40:05 EDT (Wed, 10 Oct 2007)
New Revision: 39873
URL: http://svn.boost.org/trac/boost/changeset/39873

Log:
Add values of variables specified with -s to .EVNRION
module, so that we can override environment on
command line.

Text files modified:
   trunk/tools/jam/src/jam.c | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/tools/jam/src/jam.c
==============================================================================
--- trunk/tools/jam/src/jam.c (original)
+++ trunk/tools/jam/src/jam.c 2007-10-10 03:40:05 EDT (Wed, 10 Oct 2007)
@@ -434,6 +434,9 @@
         symv[0] = s;
         symv[1] = 0;
         var_defines( symv, 1 );
+ enter_module( bindmodule(".ENVIRON") );
+ var_defines( symv, 0 );
+ exit_module( bindmodule(".ENVIRON") );
     }
 
     /* Set the ARGV to reflect the complete list of arguments of invocation. */


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk