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 /test/meson.build | |
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 'test/meson.build')
-rw-r--r-- | test/meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/meson.build b/test/meson.build index 97ec7ee5c5..836a506ed8 100644 --- a/test/meson.build +++ b/test/meson.build @@ -44,9 +44,8 @@ if install_tests # The unit tests implemented as shell scripts expect to find testdata/ # in the directory where they are stored. - meson.add_install_script(meson_make_symlink, - testdata_dir, - unittestsdir / 'testdata') + meson.add_install_script(sh, '-c', ln_s.format(testdata_dir, + unittestsdir / 'testdata')) endif ############################################################ |