mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +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:
parent
9217255427
commit
93252bfea7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue