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 /network | |
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 'network')
-rw-r--r-- | network/meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/network/meson.build b/network/meson.build index 5e10c86372..b6745298f6 100644 --- a/network/meson.build +++ b/network/meson.build @@ -14,8 +14,7 @@ if conf.get('ENABLE_NETWORKD') == 1 install_dir : networkdir) if install_sysconfdir - meson.add_install_script('sh', '-c', - mkdir_p.format(sysconfdir / 'systemd/network')) + install_emptydir(sysconfdir / 'systemd/network') endif endif |