mirror of https://github.com/mpv-player/mpv
waf: don't discard line endings when using file2string.py
This commit is contained in:
parent
0b9f1e0323
commit
7aca328eb1
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue