Skip to content

Commit

Permalink
Updated floppy/_download.cmd to use an empty user-agent string for th…
Browse files Browse the repository at this point in the history
…e default options to curl.
  • Loading branch information
arizvisa committed Jul 16, 2020
1 parent 13a94cc commit 6036941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floppy/_download.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ REM Every other method so far has failed entirely, so at this point there's
REM nothing left to try but curl.exe which came for free with the build. We
REM first need to locate it and make sure that it actually works.
:check_curl
if not defined CURL_OPTS ( set "CURL_OPTS=-L" ) else if defined CURL_OPTS ( set "CURL_OPTS=%CURL_OPTS% -L" )
if not defined CURL_OPTS ( set "CURL_OPTS=-A '' -L" ) else if defined CURL_OPTS ( set "CURL_OPTS=%CURL_OPTS% -A '' -L" )
if defined PACKER_DEBUG if not "%PACKER_DEBUG%" == "0" set "CURL_OPTS=%CURL_OPTS% --verbose"

set curl=
Expand Down

0 comments on commit 6036941

Please sign in to comment.