Forum: Cfengine Help Subject: Inherit shell variables in "commands:" Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,19964,19964#msg-19964
Hi all, I need to assign 10 variables in shell before I run a script. How can I inherit shell variables in a commands-section? I have tried to create a file, containing exports of variables, run it followed by a commands section on the same line but it didn't work: Like this: commands: "/tmp/filewithvars && $(script)"; Any ideas? Regards /Bernt Jernberg _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine