<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">Hi Build2,</span></div><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small"><div><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small"><br /></span></div>I would like to be able to concatenate variables across nested config.build as in the following out of source building tree:</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">bld/</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">└── confa</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    ├── build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    │   ├── bootstrap.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    │   ├── config.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    │   └── root.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    ├── confa1</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    │   └── build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    │       ├── bootstrap.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    │       └── config.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">    └── confa2</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">        └── build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">            ├── bootstrap.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">            └── config.build</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">bootstrap.build containing 'amalgamation = ../' for confa1 and confa2.</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">For example, if I set the config.build like this:</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">- confa/build/config.build contains 'test_var += "VAR-A"'</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">- confa/confa1/build/config.</span><wbr style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">build contains 'test_var += "VAR-A1"'</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">- confa/confa1/build/config.</span><wbr style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">build contains 'test_var += "VAR-A2"'</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">Then, running "b '{update}(./hlo@bld/confa/{*/ -build/})' --verbose 6", I get "test_var=VAR-A1" for confa1 and "test_var=VAR-A VAR-A2" for confa2 (a simple 'Hello World' like project with buildfile is contained in directory hlo).</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">Is it possible to properly concatenate variables defined in nested config.build?</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">$ b --version</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">build2 0.7.0-a.0.f9d759160eef1ca8</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">libbutl 0.7.0-a.0.b1cd193f1bd28837</span><br style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small" /><div><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small"><br /></span></div><div><span style="color: rgb( 34 , 34 , 34 ) ; font-family: monospace , monospace ; font-size: small">Thanks!</span></div>  </body>
</html>