Fix Makefile script for windows line endings

This commit is contained in:
DanyaPostfactum 2013-01-24 05:40:25 +10:00 committed by nightwing
commit 26e1074017

View file

@ -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 "";