Update test environment script to work on Mac OS
This commit is contained in:
parent
987a5da85a
commit
ec9be1d0d1
1 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,12 @@ done
|
||||||
|
|
||||||
REPO_ROOT="$( cd -P "$( dirname "$SOURCE" )/../" && pwd )"
|
REPO_ROOT="$( cd -P "$( dirname "$SOURCE" )/../" && pwd )"
|
||||||
|
|
||||||
RID=linux-x64
|
if [ "$uname" = "Darwin" ]
|
||||||
|
then
|
||||||
|
RID=osx-x64
|
||||||
|
else
|
||||||
|
RID=linux-x64
|
||||||
|
fi
|
||||||
|
|
||||||
STAGE2_DIR=$REPO_ROOT/bin/2/$RID/dotnet
|
STAGE2_DIR=$REPO_ROOT/bin/2/$RID/dotnet
|
||||||
export PATH=$STAGE2_DIR:$PATH
|
export PATH=$STAGE2_DIR:$PATH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue