waf: don't discard line endings when using file2string.py

This commit is contained in:
wm4 2017-01-05 16:48:27 +01:00
parent 0b9f1e0323
commit 7aca328eb1
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def f2s(self):
def fn(out):
source = getattr(self, 'source', None)
src = self.path.find_resource(source)
file2string(source, iter(src.read().splitlines()), out)
file2string(source, iter(src.read().splitlines(True)), out)
execf(self, fn)
@TaskGen.feature('ebml_header')