mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user