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 )"
|
REPO_ROOT="$( cd -P "$( dirname "$SOURCE" )/../" && pwd )"
|
||||||
|
|
||||||
uname=$(uname)
|
uname=$(uname)
|
||||||
if [ "$(uname)" == "Darwin" ]
|
if [ "$(uname)" = "Darwin" ]
|
||||||
then
|
then
|
||||||
RID=osx.10.13-x64
|
RID=osx.10.13-x64
|
||||||
else
|
else
|
||||||
|
@ -31,4 +31,4 @@ export DOTNET_MULTILEVEL_LOOKUP=0
|
||||||
export NUGET_PACKAGES=$REPO_ROOT/.nuget/packages
|
export NUGET_PACKAGES=$REPO_ROOT/.nuget/packages
|
||||||
export TEST_PACKAGES=$REPO_ROOT/bin/2/$RID/test/packages
|
export TEST_PACKAGES=$REPO_ROOT/bin/2/$RID/test/packages
|
||||||
export TEST_ARTIFACTS=$REPO_ROOT/bin/2/$RID/test/artifacts
|
export TEST_ARTIFACTS=$REPO_ROOT/bin/2/$RID/test/artifacts
|
||||||
export PreviousStageProps=$REPO_ROOT/bin/2/$RID/PreviousStage.props
|
export PreviousStageProps=$REPO_ROOT/bin/2/$RID/PreviousStage.props
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue