-cd /d "%~dp0"\r
-\r
-del /s Build\*.exe\r
-del /s BuildTmp\*.res\r
-\r
-call SetVersion.cmd\r
-cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h\r
-\r
-rem Filters\r
-mkdir Build\Filters 2> NUL\r
-for %%i in (Filters\*.flt Filters\*.tmpl Filters\*.txt) do (\r
- cscript convertlf2crlf.vbs "%%i" Build\Filters\%%~nxi"\r
-)\r
-\r
-setlocal\r
-call "%VS120COMNTOOLS%vsvars32.bat"\r
-MSBuild WinMerge.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="Win32" || pause\r
-MSBuild WinMerge.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="x64" || pause\r
-endlocal\r
-\r
-if exist "%SIGNBAT_PATH%" (\r
- call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\WinMergeU.exe\r
- call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\MergeLang.dll\r
- call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\WinMergeU.exe\r
- call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\MergeLang.dll\r
-)\r
-\r
-for %%i in ("%ProgramFiles(x86)%" "%ProgramFiles%") do (\r
- if exist "%%~i\Inno Setup 5\iscc.exe" (\r
- "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge.iss" || pause\r
- "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMergeX64.iss" || pause\r
- )\r
-)\r
-\r
+cd /d "%~dp0"
+
+del /s Build\*.exe
+del /s BuildTmp\*.res
+
+call SetVersion.cmd
+cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h
+
+setlocal
+call "%VS120COMNTOOLS%vsvars32.bat"
+MSBuild WinMerge.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="Win32" || pause
+MSBuild WinMerge.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="x64" || pause
+endlocal
+
+if exist "%SIGNBAT_PATH%" (
+ call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\WinMergeU.exe
+ call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\MergeLang.dll
+ call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\WinMergeU.exe
+ call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\MergeLang.dll
+)
+
+for %%i in ("%ProgramFiles(x86)%" "%ProgramFiles%") do (
+ if exist "%%~i\Inno Setup 5\iscc.exe" (
+ "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge.iss" || pause
+ "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMergeX64.iss" || pause
+ )
+)
+
+++ /dev/null
-Dim fso: Set fso = CreateObject("Scripting.FileSystemObject")
-
-Dim src: Set src = fso.OpenTextFile(WScript.Arguments.Unnamed(0), 1)
-Dim txt: txt = src.ReadAll
-src.Close
-
-Dim dst: Set dst = fso.CreateTextFile(WScript.Arguments.Unnamed(1), True)
-dst.Write Replace(Replace(txt, vbCrLf, vbLf), vbLf, vbCrLf)
-dst.Close
-