ElementsProject / cln-application

Official core lightning application by Blockstream
MIT License
32 stars 8 forks source link

Make env.sh compatible with zsh #29

Closed evansmj closed 11 months ago

evansmj commented 11 months ago

zsh has an expansion with '='. if you run source ./env.sh in zsh, it will error zsh: = not found. Using [[ ]] in the if statement is safer and results in== evaluating properly with [[ ]] conditionals.