summaryrefslogtreecommitdiffstats
path: root/src/shutdown
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-02 14:49:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-02 14:49:32 +0100
commitf1b98127ff6320648cc3dc876f3b6a5aa3af204b (patch)
tree0fcea4eff1ccda78d54edab923f1444f74a3ff2f /src/shutdown
parentbuild(deps): bump meson from 0.60.3 to 0.61.2 in /.github/workflows (diff)
downloadsystemd-f1b98127ff6320648cc3dc876f3b6a5aa3af204b.tar.xz
systemd-f1b98127ff6320648cc3dc876f3b6a5aa3af204b.zip
meson: do not use split() in file lists
The approach to use '''…'''.split() instead of a list of strings was initially used when converting from automake because it allowed identical blocks of lines to be used for both, making the conversion easier. But over the years we have been using normal lists more and more, especially when there were just a few filenames listed. This converts the rest. No functional change.
Diffstat (limited to 'src/shutdown')
-rw-r--r--src/shutdown/meson.build9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/shutdown/meson.build b/src/shutdown/meson.build
index fcc9f9f0ac..a4f4d39814 100644
--- a/src/shutdown/meson.build
+++ b/src/shutdown/meson.build
@@ -1,10 +1,9 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-systemd_shutdown_sources = files('''
- shutdown.c
- umount.c
- umount.h
-'''.split())
+systemd_shutdown_sources = files(
+ 'shutdown.c',
+ 'umount.c',
+ 'umount.h')
tests += [
[files('test-umount.c',