Skip to content

Commit 5d421c2

Browse files
authored
Install local SDK without sudo on Unix (#1635)
1 parent ffc8dd9 commit 5d421c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [ ! -d "$SCRIPT_DIR/.dotnet" ]; then
4747
mkdir "$SCRIPT_DIR/.dotnet"
4848
fi
4949
curl -Lsfo "$SCRIPT_DIR/.dotnet/dotnet-install.sh" https://dot.net/v1/dotnet-install.sh
50-
sudo bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --version 2.1.503 --install-dir .dotnet --no-path
50+
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --version 2.1.503 --install-dir .dotnet --no-path
5151
export PATH="$SCRIPT_DIR/.dotnet":$PATH
5252
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
5353
export DOTNET_CLI_TELEMETRY_OPTOUT=1

0 commit comments

Comments
 (0)