From 2a10d964f0bd5d64210adb0537ad04f9410f56db Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 14 Sep 2006 21:33:42 +0000 Subject: Added the make-style view...useful sometimes. --- src/build.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/build.cpp') diff --git a/src/build.cpp b/src/build.cpp index 88d1207..89366f9 100644 --- a/src/build.cpp +++ b/src/build.cpp @@ -144,11 +144,11 @@ void Build::set( const std::string &cont, const std::string &var, const std::str { if( cont == "" ) { - mVars[var] = val; + mVars[var] = replVars( val, cont, NULL ); } else { - mContVars[cont][var] = val; + mContVars[cont][var] = replVars( val, cont, NULL ); } } @@ -156,11 +156,11 @@ void Build::setAdd( const std::string &cont, const std::string &var, const std:: { if( cont == "" ) { - mVars[var] = getVar( cont, var, NULL ) + " " + val; + mVars[var] = getVar( cont, var, NULL ) + " " + replVars( val, cont, NULL ); } else { - mContVars[cont][var] = getVar( cont, var, NULL ) + " " + val; + mContVars[cont][var] = getVar( cont, var, NULL ) + " " + replVars( val, cont, NULL ); } } -- cgit v1.2.3