diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-08 03:38:47 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-08-08 23:11:34 +0200 |
commit | 9289e093ae6fd5484f9119e1ee07d1dffe37cd10 (patch) | |
tree | 245f88c410684e0d2622c82fb91b8fa60a8746fa /tmpfiles.d | |
parent | man: fix typo in journalctl (diff) | |
download | systemd-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 'tmpfiles.d')
-rw-r--r-- | tmpfiles.d/meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build index 4d94e3743f..4c11ad6e20 100644 --- a/tmpfiles.d/meson.build +++ b/tmpfiles.d/meson.build @@ -54,6 +54,5 @@ foreach pair : in_files endforeach if enable_tmpfiles and install_sysconfdir - meson.add_install_script( - 'sh', '-c', mkdir_p.format(sysconfdir / 'tmpfiles.d')) + install_emptydir(sysconfdir / 'tmpfiles.d') endif |