Closed csandanov closed 8 years ago
Try putting the square brackets in quotes, like so only_if: "[ \" $FOO\" == \"bar\" ]"
Thank you very much for the valuable comment @csandanov. Thank you so much @bkcsoft for showing us the workaround. I made the patch containing the description on the workaround and the test case in #157.
Fixed with #157.
I'm trying to use following condition
only_if: [ "$MY_ENV_VAR" = "value" ]
and getWorks fine with
only_if: test "$MY_ENV_VAR" = "value"
. Is it how walter suppose to work (no square brackets support)?