It seems like the if branches must be surrounded with quotes no matter what and this prevents interpolation.
What is the correct way to do this?
Also I find it extremely hard to read all these { }. They are used for variable interpolation, they surround the if block, within the if block, and maybe somewhere else. Would it be nicer to use $var or #var variables interpolation?
I'm trying to do something like this:
The variables inside the if block is not expanded to their values so that this recipe expands to:
It seems like the if branches must be surrounded with quotes no matter what and this prevents interpolation.
What is the correct way to do this? Also I find it extremely hard to read all these { }. They are used for variable interpolation, they surround the if block, within the if block, and maybe somewhere else. Would it be nicer to use
$var
or#var
variables interpolation?