summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc/files/openrc-0.2-path-fix-for-multilib-fix.patch')
-rw-r--r--sys-apps/openrc/files/openrc-0.2-path-fix-for-multilib-fix.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-0.2-path-fix-for-multilib-fix.patch b/sys-apps/openrc/files/openrc-0.2-path-fix-for-multilib-fix.patch
new file mode 100644
index 000000000000..32f2bbcab5b9
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.2-path-fix-for-multilib-fix.patch
@@ -0,0 +1,21 @@
+From: Roy Marples <roy@marples.name>
+Date: Thu, 27 Mar 2008 16:59:33 +0000 (+0000)
+Subject: No need for the extra rc.
+X-Git-Url: http://git.overlays.gentoo.org/gitweb/?p=proj%2Fopenrc.git;a=commitdiff_plain;h=fec78507f46d2dbde6c1bfb2be134b93c2a41c41
+
+No need for the extra rc.
+---
+
+diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in
+index f449783..206d6c0 100644
+--- a/sh/rc-functions.sh.in
++++ b/sh/rc-functions.sh.in
+@@ -75,6 +75,6 @@ get_bootparam()
+
+ # Add our sbin to $PATH
+ case "${PATH}" in
+- "${RC_LIBDIR}"/rc/sbin|"${RC_LIBDIR}"/rc/sbin:*);;
+- *) export PATH="${RC_LIBDIR}/rc/sbin:${PATH}";;
++ "${RC_LIBDIR}"/sbin|"${RC_LIBDIR}"/sbin:*);;
++ *) export PATH="${RC_LIBDIR}/sbin:${PATH}";;
+ esac