aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-27 17:09:18 +0000
committerRoy Marples <roy@marples.name>2008-03-27 17:09:18 +0000
commit4e9b58b07da4d95e5303db1372772f3b9ab216f0 (patch)
tree9611b5fd5ad8d65a25775aa59f3bfc02074b7721
parentc564043f86d50e20b8787272932cb12ddd93a915 (diff)
Sanitize the write rc dir.
-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 7575d9c2..174adc20 100644
--- a/sh/functions.sh.in
+++ b/sh/functions.sh.in
@@ -43,7 +43,7 @@ _sanitize_path()
local IFS=":" p= path=
for p in ${PATH}; do
case "${p}" in
- @PREFIX@/@LIB@/rc/sbin|@PREFIX@/bin|@PREFIX@/sbin|/usr/bin|/usr/sbin);;
+ @PREFIX@/@LIB@/rc/bin|@PREFIX@/bin|@PREFIX@/sbin|/usr/bin|/usr/sbin);;
@PKG_PREFIX@/bin|@PKG_PREFIX@/sbin);;
@LOCAL_PREFIX@/bin|@LOCAL_PREFIX@/sbin);;
*) path="${path}${path:+:}${p}";;