1 |
commit: a82a2b5f7c4d42e4d12f066aa35708501dc8794c |
2 |
Author: Andrew Gregory <andrew.gregory.8 <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 12 22:09:51 2013 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 24 02:30:40 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a82a2b5f |
7 |
|
8 |
include BINDIR and SBINDIR in the sanitized PATH |
9 |
|
10 |
Signed-off-by: Andrew Gregory <andrew.gregory.8 <AT> gmail.com> |
11 |
|
12 |
--- |
13 |
sh/functions.sh.in | 2 +- |
14 |
1 files changed, 1 insertions(+), 1 deletions(-) |
15 |
|
16 |
diff --git a/sh/functions.sh.in b/sh/functions.sh.in |
17 |
index 23f3f62..52a8ae7 100644 |
18 |
--- a/sh/functions.sh.in |
19 |
+++ b/sh/functions.sh.in |
20 |
@@ -49,7 +49,7 @@ _sanitize_path() |
21 |
for p in $PATH; do |
22 |
case "$p" in |
23 |
@LIBEXECDIR@/bin|@LIBEXECDIR@/sbin);; |
24 |
- @PREFIX@/bin|@PREFIX@/sbin|/usr/bin|/usr/sbin);; |
25 |
+ @BINDIR@|@SBINDIR@|/usr/bin|/usr/sbin);; |
26 |
@PKG_PREFIX@/bin|@PKG_PREFIX@/sbin);; |
27 |
@LOCAL_PREFIX@/bin|@LOCAL_PREFIX@/sbin);; |
28 |
*) path="$path${path:+:}$p";; |