You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement fallback detection of redirects for the new CDNs (#554)
* Implement fallback detection of redirects for the new CDNs
* Update expectations for Powershell test runs to include new domains
* Apply sanitization after following redirects on the Powershell script.
* Add direct usage of the Azure Frontdoor CNAMEs until the nice CDN aliases are prepared.
* Update expectations for Bash- and macOS-specific tests
Copy file name to clipboardExpand all lines: src/dotnet-install.sh
+64
Original file line number
Diff line number
Diff line change
@@ -1272,6 +1272,61 @@ downloadwget() {
1272
1272
return 0
1273
1273
}
1274
1274
1275
+
extract_stem() {
1276
+
local url="$1"
1277
+
# extract the protocol
1278
+
proto="$(echo $1| grep :// | sed -e's,^\(.*://\).*,\1,g')"
1279
+
# remove the protocol
1280
+
url="${1/$proto/}"
1281
+
# extract the path (if any) - since we know all of our feeds have a first path segment, we can skip the first one. otherwise we'd use -f2- to get the full path
dotnet_install: Warning: Use of --runtime-id is obsolete and should be limited to the versions below 2.1. To override architecture, use --architecture option instead. To override OS, use --os option instead.
dotnet_install: Warning: Use of --runtime-id is obsolete and should be limited to the versions below 2.1. To override architecture, use --architecture option instead. To override OS, use --os option instead.
dotnet_install: Warning: Use of --runtime-id is obsolete and should be limited to the versions below 2.1. To override architecture, use --architecture option instead. To override OS, use --os option instead.
dotnet_install: Warning: Use of --runtime-id is obsolete and should be limited to the versions below 2.1. To override architecture, use --architecture option instead. To override OS, use --os option instead.
dotnet_install: Warning: Use of --runtime-id is obsolete and should be limited to the versions below 2.1. To override architecture, use --architecture option instead. To override OS, use --os option instead.
0 commit comments