1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

bugfix: correct path to node .before script

This commit is contained in:
Oliver Giles 2017-08-06 08:19:00 +03:00
parent 1bd07acfc6
commit b45de55ed1

View File

@ -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());