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 -- -------------------------------------------------------------- Jonathan Clarke - [email protected] -------------------------------------------------------------- Ldap Synchronization Connector (LSC) - http://lsc-project.org -------------------------------------------------------------- _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
