1
0
mirror of https://github.com/systemd/systemd synced 2024-07-09 04:26:06 +00:00

meson: fix install path of example .network files

It seems that when 'rename' field is set, the path (instead of the
filename) is appended to the 'install_dir'.

Follow-up for 9b7a624267.

Fixes #29925.
This commit is contained in:
Yu Watanabe 2023-11-08 21:52:38 +09:00
parent 35dbb8b0d6
commit e941da8425

View File

@ -22,7 +22,7 @@ if conf.get('ENABLE_NETWORKD') == 1
foreach f : example_network_files
install_data(
f,
rename : fs.replace_suffix(f, ''),
rename : fs.replace_suffix(fs.name(f), ''),
install_dir : networkdir)
endforeach
else