Fix Makefile script for windows line endings
This commit is contained in:
parent
a432399742
commit
26e1074017
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ var detectTextModules = function(input, source) {
|
|||
|
||||
input = input.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
||||
input = input.replace(/\n\s+/g, "\n");
|
||||
input = '"' + input.replace(/\n/g, '\\\n') + '"';
|
||||
input = '"' + input.replace(/\r?\n/g, '\\\n') + '"';
|
||||
textModules[module] = input;
|
||||
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue