summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-27 19:32:35 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-27 19:32:35 +0200
commitfce9abb22793505fbb09eccd0b1e24b5d578dbcc (patch)
tree1ecd2d6563bf7ee90c1facd70cf1b2b685e7a9de /units
parent0b5f1bd49e6fb6009d189b6bb428224cb7127671 (diff)
downloadsystemd-fce9abb22793505fbb09eccd0b1e24b5d578dbcc.tar.gz
meson: use a/b instead of join_paths(a,b)
It is nicer and shorter.
Diffstat (limited to 'units')
-rw-r--r--units/meson.build10
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