Skip to content

Commit

Permalink
Fix AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Jul 13, 2022
1 parent 3c15344 commit 0720823
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appveyor_build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ if %CYGWIN_UPGRADE_REQUIRED% equ 1 (
)
if "%CYGWIN_INSTALL_PACKAGES%" neq "" set CYGWIN_INSTALL_PACKAGES=--packages %CYGWIN_INSTALL_PACKAGES:~1%
if "%CYGWIN_INSTALL_PACKAGES%%FLAG%" equ "" goto UpgradeCygwin_next
pushd %CYG_ROOT%
if exist setup-%CYG_ARCH%.exe del setup-%CYG_ARCH%.exe
appveyor DownloadFile "https://cygwin.com/setup-%CYG_ARCH%.exe" -FileName "setup-%CYG_ARCH%.exe" || exit /b 1
popd
"%CYG_ROOT%\setup-%CYG_ARCH%.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" %CYGWIN_INSTALL_PACKAGES% %CYGWIN_UPGRADE_FLAG% > nul
set CYGWIN_INSTALL_PACKAGES=
:UpgradeCygwin_next
Expand Down

0 comments on commit 0720823

Please sign in to comment.