diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-27 19:32:35 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-27 19:32:35 +0200 |
commit | fce9abb22793505fbb09eccd0b1e24b5d578dbcc (patch) | |
tree | 1ecd2d6563bf7ee90c1facd70cf1b2b685e7a9de /units/meson.build | |
parent | meson: use maps for udev program paths (diff) | |
download | systemd-fce9abb22793505fbb09eccd0b1e24b5d578dbcc.tar.xz systemd-fce9abb22793505fbb09eccd0b1e24b5d578dbcc.zip |
meson: use a/b instead of join_paths(a,b)
It is nicer and shorter.
Diffstat (limited to '')
-rw-r--r-- | units/meson.build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/units/meson.build b/units/meson.build index 17e9ead9c1..64da9efaaf 100644 --- a/units/meson.build +++ b/units/meson.build @@ -307,17 +307,17 @@ install_data('user-.slice.d/10-defaults.conf', if install_sysconfdir meson.add_install_script(meson_make_symlink, - join_paths(pkgsysconfdir, 'user'), - join_paths(sysconfdir, 'xdg/systemd/user')) + pkgsysconfdir / 'user', + sysconfdir / 'xdg/systemd/user') endif meson.add_install_script(meson_make_symlink, - join_paths(dbussystemservicedir, 'org.freedesktop.systemd1.service'), - join_paths(dbussessionservicedir, 'org.freedesktop.systemd1.service')) + dbussystemservicedir / 'org.freedesktop.systemd1.service', + dbussessionservicedir / 'org.freedesktop.systemd1.service') if conf.get('HAVE_SYSV_COMPAT') == 1 foreach i : [1, 2, 3, 4, 5] meson.add_install_script( 'sh', '-c', - mkdir_p.format(join_paths(systemunitdir, 'runlevel@0@.target.wants'.format(i)))) + mkdir_p.format(systemunitdir / 'runlevel@0@.target.wants'.format(i))) endforeach endif |