1 %SystemDrive%\cygwin\bin\which.exe bash
2 if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
4 if exist "%CONFIGURATIONBUILDDIR%\buildfailed" grep XX%PROJECTNAME%XX "%CONFIGURATIONBUILDDIR%\buildfailed"
6 echo XX%PROJECTNAME%XX > "%CONFIGURATIONBUILDDIR%\buildfailed"