1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-11-03 00:54:44 +00:00

expose lArchive

This commit is contained in:
Oliver Giles
2015-09-19 13:40:00 +02:00
parent 2147346493
commit cf10d5c795
2 changed files with 9 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ bool Run::step() {
setenv("lResult", to_string(result).c_str(), true);
setenv("lLastResult", to_string(lastResult).c_str(), true);
setenv("lWorkspace", (fs::path(laminarHome)/"run"/name/"workspace").string().c_str(), true);
setenv("lArchive", (fs::path(laminarHome)/"archive"/name/buildNum.c_str()).string().c_str(), true);
for(auto& pair : params) {
setenv(pair.first.c_str(), pair.second.c_str(), false);
}