Fix test environment script to enable sourcing from other shells.
The `cli-test-env.sh` script has a `==` comparison operator, which is a non-POSIX extension. This commit replaces it with the `=` POSIX operator, enabling it to be sourced from a wider variety of shells (namely zsh for this commit's author).
This commit is contained in:
parent
b9457c0f16
commit
b456668193
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ done
|
|||
REPO_ROOT="$( cd -P "$( dirname "$SOURCE" )/../" && pwd )"
|
||||
|
||||
uname=$(uname)
|
||||
if [ "$(uname)" == "Darwin" ]
|
||||
if [ "$(uname)" = "Darwin" ]
|
||||
then
|
||||
RID=osx.10.13-x64
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue