aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-03 18:33:21 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-03 18:33:21 -0600
commita9272f50f75849f5d7a787cab4c54f5a2d158f58 (patch)
tree918c5ec537b4add4c56d2446492507615aaab6ac /src/librc
parent31bcc6bee46c0d825ea71e76997af71af2fbad9a (diff)
Do not add a prefix to the /run directory
This doesn't affect us on gentoo, but on archlinux, which has done the /usr merge, OpenRC was looking for /run under PREFIX. /run is always at the root level, so it shouldn't have prefix appended to it. Reported-by: udeved@openrc4arch.site40.net
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/rc.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index b5a87b5e..c2a919fc 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -40,7 +40,7 @@ __BEGIN_DECLS
#if defined(PREFIX)
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"
#elif defined(__linux__)
-#define RC_SVCDIR "@PREFIX@/run/openrc"
+#define RC_SVCDIR "/run/openrc"
#else
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"
#endif