]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/systemd.pc.in
path: use ROOTPREFIX properly
authorLennart Poettering <lennart@poettering.net>
Thu, 28 May 2020 07:17:48 +0000 (09:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 May 2020 21:52:34 +0000 (23:52 +0200)
commit4a56315a990b802860170ecd1bbd3eb68e14a38b
treeabcd9746188d39ad6b1186652e048dbf9b1003a2
parent08b8f29a25fb377cf0b6a7b8a2b6e2136382588d
path: use ROOTPREFIX properly

ROOTPREFIX doesn't include the trailing /, hence add it in where needed.

Also, given that sysctl.d/, binfmt.d/, sysusers.d/ are generally
accessed before /var/ is up they should use ROOTPREFIX rather than
PREFIX. Fix that.
src/core/systemd.pc.in
src/libsystemd/sd-path/sd-path.c