File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,10 @@ if [[ (! -d "${DOTNETSDK_INSTALLDIR}") || (! -e "${DOTNETSDK_INSTALLDIR}/.${DOTN
220
220
sdkinstallwindow_path=${DOTNETSDK_INSTALLDIR: 1}
221
221
sdkinstallwindow_path=${sdkinstallwindow_path: 0: 1} :${sdkinstallwindow_path: 1}
222
222
$POWERSHELL -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command " & \" ./Misc/dotnet-install.ps1\" -Version ${DOTNETSDK_VERSION} -InstallDir \" ${sdkinstallwindow_path} \" -NoPath; exit \$ LastExitCode;" || checkRC dotnet-install.ps1
223
+ # FIXME: binary for freebsd is not on https://dotnetcli.azureedge.net
224
+ elif [[ (" $CURRENT_PLATFORM " == " freebsd" ) ]]; then
225
+ echo " Skip installing dotnet, use system dotnet"
226
+ command -v dotnet
223
227
else
224
228
bash ./Misc/dotnet-install.sh --version ${DOTNETSDK_VERSION} --install-dir " ${DOTNETSDK_INSTALLDIR} " --no-path || checkRC dotnet-install.sh
225
229
fi
You can’t perform that action at this time.
0 commit comments