diff options
author | Roy Marples <roy@marples.name> | 2008-03-27 17:09:18 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-27 17:09:18 +0000 |
commit | 4e9b58b07da4d95e5303db1372772f3b9ab216f0 (patch) | |
tree | 9611b5fd5ad8d65a25775aa59f3bfc02074b7721 /sh/functions.sh.in | |
parent | c564043f86d50e20b8787272932cb12ddd93a915 (diff) |
Sanitize the write rc dir.
Diffstat (limited to 'sh/functions.sh.in')
-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 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}";; |