diff options
Diffstat (limited to 'src/build.cpp')
-rw-r--r-- | src/build.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 | |||
144 | { | 144 | { |
145 | if( cont == "" ) | 145 | if( cont == "" ) |
146 | { | 146 | { |
147 | mVars[var] = val; | 147 | mVars[var] = replVars( val, cont, NULL ); |
148 | } | 148 | } |
149 | else | 149 | else |
150 | { | 150 | { |
151 | mContVars[cont][var] = val; | 151 | mContVars[cont][var] = replVars( val, cont, NULL ); |
152 | } | 152 | } |
153 | } | 153 | } |
154 | 154 | ||
@@ -156,11 +156,11 @@ void Build::setAdd( const std::string &cont, const std::string &var, const std:: | |||
156 | { | 156 | { |
157 | if( cont == "" ) | 157 | if( cont == "" ) |
158 | { | 158 | { |
159 | mVars[var] = getVar( cont, var, NULL ) + " " + val; | 159 | mVars[var] = getVar( cont, var, NULL ) + " " + replVars( val, cont, NULL ); |
160 | } | 160 | } |
161 | else | 161 | else |
162 | { | 162 | { |
163 | mContVars[cont][var] = getVar( cont, var, NULL ) + " " + val; | 163 | mContVars[cont][var] = getVar( cont, var, NULL ) + " " + replVars( val, cont, NULL ); |
164 | } | 164 | } |
165 | } | 165 | } |
166 | 166 | ||