From 4e9b58b07da4d95e5303db1372772f3b9ab216f0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 27 Mar 2008 17:09:18 +0000 Subject: Sanitize the write rc dir. --- sh/functions.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}";; -- cgit v1.2.3