zero-aws-eks-stack icon indicating copy to clipboard operation
zero-aws-eks-stack copied to clipboard

Use of [[ in shell scripts - not supported in sh on Ubuntu

Open ninetyninereds opened this issue 3 years ago • 1 comments

On Ubuntu /bin/sh does not support [[, which is used in the shell scripts (which have a shebang pointing to /bin/sh, and are I believe also called explicitly by sh in some paces). This is similar the the old issue #261 (pushd). Possible fixes are changing the scripts, or perhaps just explicitly demanding /bin/sh points to bash.

ninetyninereds avatar Feb 02 '22 18:02 ninetyninereds

Thanks for pointing that out, should probably just use bash so the experience is more uniform I think

related commitdev/zero/issues/261

davidcheung avatar Feb 03 '22 18:02 davidcheung