AppVeyor: Fix CI build
Something changed in the CI build environment, and our previous trick of
setting the Git URL to file://c:/projects/libjpeg-turbo no longer works.
Using cygpath to translate the Windows path to a MinGW-friendly format
is a better solution anyhow.
diff --git a/appveyor.yml b/appveyor.yml
index 5b615ea..4f2d6cc 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -24,7 +24,9 @@
build_script:
- cmd: >-
- bash c:/buildscripts/buildljt -r file://%CD:\=/% -b /c/ljt.nightly %APPVEYOR_REPO_BRANCH% -v
+ for /f %%i in ('"cygpath %CD%"') do set MINGWPATH=%%i
+
+ bash c:/buildscripts/buildljt -r file://%MINGWPATH% -b /c/ljt.nightly %APPVEYOR_REPO_BRANCH% -v
move c:\ljt.nightly\files\*.tar.gz .