mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
waf: don't discard line endings when using file2string.py
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user