Execute Shell Script - $KMVAR variable with quotes

Hello, could someone explain why the actions in Green works but the actions in Red do not work? The only difference between the two is the Local_var value; without quotes and with quotes.

Both find commands (with quotes and without quotes) work fine when I run them in iTerm2 terminal.

Thanks

I ran into this problem myself recently, and Peter explains briefly here.

My solution was to use the Execute script file option (rather than Execute text script).

1 Like

Thank you @hemicyon. It works when I use "Execute script file" option. Appreciate the help. :slight_smile: