Opened 5 years ago

Closed 3 years ago

#584 closed defect (worksforme)

Batch files should not have Unix-style EOL

Reported by: TobWen Owned by: osgeo4w-dev@…
Priority: minor Component: Installer
Version: Keywords:
Cc:

Description

bug

Some of the batch files in %OSGEO4W_ROOT%\etc\ini do have Unix-style EOL (just line feed \n). While this might work fine for single line batch files, it could be a problem in multi line files.

example

An example is the current gdal.bat, which has two lines and makes trouble when viewing or editing with standard Windows editors (this might change in Windows 10).

fix

Please use the common Windows style line endings for batch files: carriage return and line feed \r\n

glossar

EOL = end of line character(s)

Change History (2)

comment:1 by jef, 5 years ago

Priority: majorminor

comment:2 by jef, 3 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.