Windows build fix.
[WebKit.git] / Source / WebKit2 / win / WebKit2WebProcessPreBuild.cmd
1 %SystemDrive%\cygwin\bin\which.exe bash
2 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
3 cmd /c
4 if exist "%CONFIGURATIONBUILDDIR%\buildfailed" grep XX%PROJECTNAME%XX "%CONFIGURATIONBUILDDIR%\buildfailed"
5 if errorlevel 1 exit 1
6 echo XX%PROJECTNAME%XX > "%CONFIGURATIONBUILDDIR%\buildfailed"
7
8 bash "%WEBKITLIBRARIESDIR%\tools\scripts\auto-version.sh" "%INTDIR%"