mirror of
https://github.com/systemd/systemd.git
synced 2024-12-31 21:18:09 +03: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
|
||||
install_data(
|
||||
f,
|
||||
rename : fs.replace_suffix(f, ''),
|
||||
rename : fs.replace_suffix(fs.name(f), ''),
|
||||
install_dir : networkdir)
|
||||
endforeach
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user