From: DRC Date: Sat, 18 Mar 2017 18:24:50 +0000 (-0500) Subject: AppVeyor: Fix CI build X-Git-Tag: 1.5.2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c082dc039db6a6bc42bcd67571f50727d197a2ef;p=libjpeg-turbo 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 @@ install: 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 .