Skip to content

Commit

Permalink
Fix Makefile script for windows line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
danyaPostfactum authored and nightwing committed Jan 25, 2013
1 parent a432399 commit 26e1074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.dryice.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 "";
Expand Down

0 comments on commit 26e1074

Please sign in to comment.