use curl instead of ps: Start-FileDownload

This commit is contained in:
Adrien Delorme 2018-10-16 13:44:36 +02:00
parent d27293ffa8
commit f4c7fdb775
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ clone_folder: c:\gopath\src\github.com\hashicorp\packer
# Install needed build dependencies
install:
- ps: Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP"
- curl -fsS -o %CYG_SETUP% "https://cygwin.com/%CYG_SETUP%"
- '%CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also'
- echo %Path%
- go version