aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/functions.sh.in2
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";;