Hi, /bin/sh is linked to bash on my system. But as I said, this is not the problem: the bug manifests itself before, and cf-engine refuses to launch the shell at all. So it's not a shell problem.
On Fri, Dec 11, 2009 at 12:54 AM, Jonathan Clarke <jonat...@phillipoux.net>wrote: > On 10/12/2009 17:30, Jean-Noël Rivasseau wrote: > >> Hello, I discussed this issue in the help ML before but it really >> appears like it is a bug. >> >> Basically, cf-engine chokes on ${const.dollar}( ... ) in command strings >> passed to returnszero function. However $() in a shell (Bash) can be >> very useful as it triggers a subshell. There is a bug in the parser >> somewhere as this example demonstrates: >> > > Hi, > > What system are you running this on? CFEngine uses "/bin/sh" to execute > shell commands, which may or may not be linked to bash. IIRC the "$()" > doesn't exist in plain 'sh'. > > Jonathan >
_______________________________________________ Bug-cfengine mailing list Bug-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/bug-cfengine