summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-14 16:12:51 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-14 19:52:25 +0200
commit7c22f07cbd86b39e78990057687e5509fa299672 (patch)
treea60365cb0c086712e52d8bdb846025e7fe5e8f74 /units
parentf86887af6e355ae7232ca550b607f9024d727f93 (diff)
downloadsystemd-7c22f07cbd86b39e78990057687e5509fa299672.tar.gz
meson: revert the change to unquote commands in add_install_script
Old meson fails with: Element not a string: [<Holder: <ExternalProgram 'sh' -> ['/bin/sh']>>, '-c', 'test -n "$DESTDIR" || /bin/journalctl --update-catalog'] I'm doing it as a revert so that it's easy to undo the revert when we require newer meson. The effect is not so bad, maybe a dozen or so lines about finding 'sh'.
Diffstat (limited to 'units')
-rw-r--r--units/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/meson.build b/units/meson.build
index a0fbe3e15a..01850a8247 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -348,7 +348,7 @@ meson.add_install_script(meson_make_symlink,
if conf.get('HAVE_SYSV_COMPAT') == 1
foreach i : [1, 2, 3, 4, 5]
meson.add_install_script(
- sh, '-c',
+ 'sh', '-c',
mkdir_p.format(join_paths(systemunitdir, 'runlevel@0@.target.wants'.format(i))))
endforeach
endif