dotnet / jitutils

MIT License
150 stars 60 forks source link

Recognize curl as a downloading tool #335

Closed am11 closed 3 years ago

am11 commented 3 years ago

Chances of having curl on a fresh Linux / macOS install are actually higher than having wget, but even if there is a tie, using available tool in PATH which does the job right is good. This is the only script related to runtime that force the user to install wget.

.. was about to run brew install wget then thought I should do this first. 😄

am11 commented 3 years ago

cc @BruceForstall, PTAL. dotnet-install.sh and other scripts in runtime and arcade provide curl or wget choice. This patch aligns bootstrap.sh with the similar fallback mechanism.

BruceForstall commented 3 years ago

This LGTM. Can some @dotnet/jit-contrib Unix guru review?

BruceForstall commented 3 years ago

@echesakovMSFT Any more feedback here?