summaryrefslogtreecommitdiffstats
path: root/sysctl.d
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-08-08 03:38:47 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-08-08 23:11:34 +0200
commit9289e093ae6fd5484f9119e1ee07d1dffe37cd10 (patch)
tree245f88c410684e0d2622c82fb91b8fa60a8746fa /sysctl.d
parentman: fix typo in journalctl (diff)
downloadsystemd-9289e093ae6fd5484f9119e1ee07d1dffe37cd10.tar.xz
systemd-9289e093ae6fd5484f9119e1ee07d1dffe37cd10.zip
meson: use install_emptydir() and drop meson-make-symlink.sh
The script is mostly equivalent to 'mkdir -p' and 'ln -sfr'. Let's replace it with install_emptydir() builtin function and inline meson call.
Diffstat (limited to 'sysctl.d')
-rw-r--r--sysctl.d/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysctl.d/meson.build b/sysctl.d/meson.build
index ecec903d1b..909baa2be3 100644
--- a/sysctl.d/meson.build
+++ b/sysctl.d/meson.build
@@ -21,6 +21,5 @@ custom_target(
install_dir : sysctldir)
if install_sysconfdir
- meson.add_install_script('sh', '-c',
- mkdir_p.format(sysconfdir / 'sysctl.d'))
+ install_emptydir(sysconfdir / 'sysctl.d')
endif