diff --git a/appveyor.yml b/appveyor.yml index 0a9e5929c..46637f256 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,7 +38,7 @@ clone_folder: c:\gopath\src\github.com\hashicorp\packer # Install needed build dependencies install: - - ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" } + - ps: Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env: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