mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	expose lNode
This commit is contained in:
		
							parent
							
								
									ae59da1245
								
							
						
					
					
						commit
						1caeeabbfd
					
				| @ -17,6 +17,7 @@ | |||||||
| /// along with Laminar.  If not, see <http://www.gnu.org/licenses/>
 | /// along with Laminar.  If not, see <http://www.gnu.org/licenses/>
 | ||||||
| ///
 | ///
 | ||||||
| #include "run.h" | #include "run.h" | ||||||
|  | #include "node.h" | ||||||
| #include "conf.h" | #include "conf.h" | ||||||
| #include <iostream> | #include <iostream> | ||||||
| #include <kj/debug.h> | #include <kj/debug.h> | ||||||
| @ -90,6 +91,7 @@ bool Run::step() { | |||||||
|             setenv("PATH", PATH.c_str(), true); |             setenv("PATH", PATH.c_str(), true); | ||||||
|             setenv("lBuildNum", buildNum.c_str(), true); |             setenv("lBuildNum", buildNum.c_str(), true); | ||||||
|             setenv("lJobName", name.c_str(), true); |             setenv("lJobName", name.c_str(), true); | ||||||
|  |             setenv("lNode", node->name.c_str(), true); | ||||||
|             setenv("lResult", to_string(result).c_str(), true); |             setenv("lResult", to_string(result).c_str(), true); | ||||||
|             setenv("lLastResult", to_string(lastResult).c_str(), true); |             setenv("lLastResult", to_string(lastResult).c_str(), true); | ||||||
|             setenv("lWorkspace", (fs::path(laminarHome)/"run"/name/"workspace").string().c_str(), true); |             setenv("lWorkspace", (fs::path(laminarHome)/"run"/name/"workspace").string().c_str(), true); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user