summaryrefslogtreecommitdiffstats
path: root/src/fstab-generator/meson.build
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 /src/fstab-generator/meson.build
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 'src/fstab-generator/meson.build')
-rw-r--r--src/fstab-generator/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fstab-generator/meson.build b/src/fstab-generator/meson.build
index 11de6ffd80..7b90580e90 100644
--- a/src/fstab-generator/meson.build
+++ b/src/fstab-generator/meson.build
@@ -7,6 +7,6 @@ executables += [
},
]
-meson.add_install_script(meson_make_symlink,
- systemgeneratordir / 'systemd-fstab-generator',
- libexecdir / 'systemd-sysroot-fstab-check')
+meson.add_install_script(sh, '-c',
+ ln_s.format(systemgeneratordir / 'systemd-fstab-generator',
+ libexecdir / 'systemd-sysroot-fstab-check'))