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
35dbb8b0d6
commit
e941da8425
|
@ -22,7 +22,7 @@ if conf.get('ENABLE_NETWORKD') == 1
|
||||||
foreach f : example_network_files
|
foreach f : example_network_files
|
||||||
install_data(
|
install_data(
|
||||||
f,
|
f,
|
||||||
rename : fs.replace_suffix(f, ''),
|
rename : fs.replace_suffix(fs.name(f), ''),
|
||||||
install_dir : networkdir)
|
install_dir : networkdir)
|
||||||
endforeach
|
endforeach
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue