From: Yu Watanabe Date: Wed, 8 Nov 2023 12:52:38 +0000 (+0900) Subject: meson: fix install path of example .network files X-Git-Tag: v255-rc2~16^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e941da8425597985d257caaa6593c6ec72402a0d;p=thirdparty%2Fsystemd.git 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. --- diff --git a/network/meson.build b/network/meson.build index b343bf6ad38..4f17f7385ed 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