From a9272f50f75849f5d7a787cab4c54f5a2d158f58 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 3 Dec 2012 18:33:21 -0600 Subject: 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 --- src/librc/rc.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librc') 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 -- cgit v1.2.3