OSX name changed to macOS in 2016. Even if existing scripts keep using osx, we should support macos as well. Otherwise we look rather out of the loop.
dan@danmose50:/mnt/c/WINDOWS/system32$ /mnt/c/git/install-scripts/src/dotnet-install.sh -DryRun -Version 8.0.100-rtm.23523.2 --os mac
dotnet_install: Error: 'mac' is not a supported value for --os option, supported values are: osx, linux, linux-musl, freebsd, rhel.6. If you think this is a bug, report it at https://github.com/dotnet/install-scripts/issues.
dan@danmose50:/mnt/c/WINDOWS/system32$ /mnt/c/git/install-scripts/src/dotnet-install.sh -DryRun -Version 8.0.100-rtm.23523.2 --os osx
OSX name changed to macOS in 2016. Even if existing scripts keep using osx, we should support macos as well. Otherwise we look rather out of the loop.