summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-11-08 13:52:38 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-11-08 13:55:44 +0100
commite941da8425597985d257caaa6593c6ec72402a0d (patch)
treea84348b5346532cef414a280ba6a7bfd8be28e3a /network
parentmeson: disable -Ddefault-network by default (diff)
downloadsystemd-e941da8425597985d257caaa6593c6ec72402a0d.tar.xz
systemd-e941da8425597985d257caaa6593c6ec72402a0d.zip
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 9b7a624267fddc5c20bd15480e7a393d7a3b270e. Fixes #29925.
Diffstat (limited to 'network')
-rw-r--r--network/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/meson.build b/network/meson.build
index b343bf6ad3..4f17f7385e 100644
--- a/network/meson.build
+++ b/network/meson.build
@@ -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