Admin/Windows/Cygwin/setup_server
changeset 77052 86ace3c45837
parent 71385 06bb82e7af2a
child 78304 e4b57eea7f86
--- a/Admin/Windows/Cygwin/setup_server	Mon Jan 23 11:31:18 2023 +0100
+++ b/Admin/Windows/Cygwin/setup_server	Mon Jan 23 14:26:42 2023 +0100
@@ -15,7 +15,7 @@
   local DIR="${2:-.}"
   mkdir -p "$DIR" || fail "Cannot create directory: \"$DIR\""
   echo "Downloading $URL ..."
-  curl --fail --silent "$URL" > "$DIR"/"$(basename "$URL")" || fail "FAILED"
+  curl --fail --silent --location "$URL" > "$DIR"/"$(basename "$URL")" || fail "FAILED"
 }
 
 download "$CYGWIN_MAIN/setup-x86_64.exe"