diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-02-12 17:09:51 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-02-23 20:30:40 -0600 |
commit | a82a2b5f7c4d42e4d12f066aa35708501dc8794c (patch) | |
tree | dcff28fdff050f79bc871854e73d61f8f9b52e6e | |
parent | 8a44067838e268db88ea2158258f8006cb1344b7 (diff) |
include BINDIR and SBINDIR in the sanitized PATH
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
-rw-r--r-- | sh/functions.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/functions.sh.in b/sh/functions.sh.in index 23f3f627..52a8ae77 100644 --- a/sh/functions.sh.in +++ b/sh/functions.sh.in @@ -49,7 +49,7 @@ _sanitize_path() for p in $PATH; do case "$p" in @LIBEXECDIR@/bin|@LIBEXECDIR@/sbin);; - @PREFIX@/bin|@PREFIX@/sbin|/usr/bin|/usr/sbin);; + @BINDIR@|@SBINDIR@|/usr/bin|/usr/sbin);; @PKG_PREFIX@/bin|@PKG_PREFIX@/sbin);; @LOCAL_PREFIX@/bin|@LOCAL_PREFIX@/sbin);; *) path="$path${path:+:}$p";; |