summaryrefslogtreecommitdiffstats
path: root/src/rc-local-generator/rc-local-generator.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-16 16:44:47 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-19 03:25:26 +0200
commit835cf75aefae4402d36e202aad453a98d36b1482 (patch)
tree7169cf1cebbf4de1145997096a0c789a15ddcab5 /src/rc-local-generator/rc-local-generator.c
parentrpm: use %_bindir not @bindir@ (diff)
downloadsystemd-835cf75aefae4402d36e202aad453a98d36b1482.tar.xz
systemd-835cf75aefae4402d36e202aad453a98d36b1482.zip
meson: use jinja2 for rpm templates
The naming of variables is very inconsistent. I tried to use more modern style naming (UNDERSCORED_TITLE_CASE), but I didn't change existing names too much. Only SYSTEM_DATA_UNIT_PATH is renamed to SYSTEM_DATA_UNIT_DIR to match SYSTEM_CONFIG_UNIT_DIR.
Diffstat (limited to 'src/rc-local-generator/rc-local-generator.c')
-rw-r--r--src/rc-local-generator/rc-local-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-local-generator/rc-local-generator.c b/src/rc-local-generator/rc-local-generator.c
index ad8dfabb54..99cffee3ec 100644
--- a/src/rc-local-generator/rc-local-generator.c
+++ b/src/rc-local-generator/rc-local-generator.c
@@ -24,7 +24,7 @@ static int add_symlink(const char *service, const char *where) {
assert(service);
assert(where);
- from = strjoina(SYSTEM_DATA_UNIT_PATH "/", service);
+ from = strjoina(SYSTEM_DATA_UNIT_DIR "/", service);
to = strjoina(arg_dest, "/", where, ".wants/", service);
(void) mkdir_parents_label(to, 0755);