Skip to content

Expand variables in if statements (fixes #212)

Michael Aaron Murphy requested to merge fcapano:master into master

Created by: fcapano

Added expansion of variables when evaluating if statements. Undefined variables will evaluate to empty strings, thus the equality of two undefined variables will evaluate to True. This is the same behaviour of other shells such as Bash, Sh, Zsh, ...

Merge request reports