From b45de55ed15920611d7ca905382f05584ec6dbab Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Sun, 6 Aug 2017 08:19:00 +0300 Subject: [PATCH] bugfix: correct path to node .before script --- src/laminar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laminar.cpp b/src/laminar.cpp index e3b61d8..c6d68cd 100644 --- a/src/laminar.cpp +++ b/src/laminar.cpp @@ -588,7 +588,7 @@ void Laminar::assignNewJobs() { run->addScript((cfgDir/"before").string()); // per-node before-run script if(fs::exists(cfgDir/"nodes"/node.name+".before")) - run->addScript((cfgDir/"before").string()); + run->addScript((cfgDir/"nodes"/node.name+".before").string()); // job before-run script if(fs::exists(cfgDir/"jobs"/run->name+".before")) run->addScript((cfgDir/"jobs"/run->name+".before").string());