]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build-openssl.bat: Fix mixed line endings
authorJay Satiro <raysatiro@yahoo.com>
Thu, 2 Apr 2015 15:21:09 +0000 (17:21 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Apr 2015 15:21:09 +0000 (17:21 +0200)
Use LF not CRLF, throughout.  msysgit will only convert a file to CRLF
on checkout if it's not mixed.

projects/build-openssl.bat

index 24410dc1b73eae24c12c07f38a87d657fddc91d9..207ecf8bf2d9f092ae7056e924f5f380be9ab07f 100644 (file)
@@ -106,12 +106,12 @@ rem ***************************************************************************
   if not exist "%PF%\%VC_PATH%" goto novc
 
   rem Check we have Perl installed
-  echo %PATH% | findstr /I /C:"\Perl" 1>nul\r
-  if errorlevel 1 (\r
-    if not exist "%SystemDrive%\Perl" (\r
-      if not exist "%SystemDrive%\Perl64" goto noperl\r
-    )\r
-  )\r
+  echo %PATH% | findstr /I /C:"\Perl" 1>nul
+  if errorlevel 1 (
+    if not exist "%SystemDrive%\Perl" (
+      if not exist "%SystemDrive%\Perl64" goto noperl
+    )
+  )
 
   rem Check the start directory exists
   if not exist "%START_DIR%" goto noopenssl
@@ -164,7 +164,7 @@ rem ***************************************************************************
   set OUTDIR=build\Win64\%VC_DESC%
   if not exist %OUTDIR% md %OUTDIR%
 
-  if "%BUILD_CONFIG%" == "release" goto x64release\r
+  if "%BUILD_CONFIG%" == "release" goto x64release
 
 :x64debug
   rem Configuring 64-bit Debug Build