1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 08:55:18 +03:00

meson: add missing final newline in jinja2 outputs

I think this might be caused by trim_blocks=True. We were
missing the final newline everywhere.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-12-08 18:00:35 +01:00
parent 01081e2eab
commit 6abe882bae

View File

@ -31,5 +31,6 @@ if __name__ == '__main__':
output = render(sys.argv[2], defines)
with open(sys.argv[3], 'w') as f:
f.write(output)
f.write('\n')
info = os.stat(sys.argv[2])
os.chmod(sys.argv[3], info.st_mode)