I have line ends issue

This commit is contained in:
rusefi 2017-02-21 22:56:20 -05:00
parent 2a0b9b1895
commit 8235db4f56
3 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
// This file was generated by Version2Header
// Mon Feb 20 21:53:56 EST 2017
#ifndef VCS_VERSION
#define VCS_VERSION "2952"
#endif
// This file was generated by Version2Header
// Tue Feb 21 22:52:54 EST 2017
#ifndef VCS_VERSION
#define VCS_VERSION "2962"
#endif

Binary file not shown.

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Andrey Belomutskiy (c) 2014
*/
public class Version2Header {
private static final String NL = System.getProperty("line.separator");
private static final String NL = "\n";//System.getProperty("line.separator");
private static final String COMMAND = "svn info";
private static final String VERSION_MARKER = "Last Changed Rev: ";
@ -15,6 +15,7 @@ public class Version2Header {
public static void main(String[] args) throws IOException {
System.out.println("Hi, it's " + new Date());
System.out.println("Working with " + NL.length() + " line ends");
Process simulatorProcess = null;
try {
System.out.println("Executing [" + COMMAND + "]");