diff options
author | Roy Marples <roy@marples.name> | 2007-11-21 15:40:42 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-21 15:40:42 +0000 |
commit | 95f8344874b09d3b2c52b58ba32ad45c529bd9b3 (patch) | |
tree | fe07ffb69e693a3d3727601e83bb38623fad9daf /sh/functions.sh | |
parent | 2b1a864bc42cff3a9daae42418608d2b5b69dad0 (diff) |
We should include local paths
Diffstat (limited to 'sh/functions.sh')
-rw-r--r-- | sh/functions.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/functions.sh b/sh/functions.sh index a2e64e17..99c83989 100644 --- a/sh/functions.sh +++ b/sh/functions.sh @@ -133,9 +133,9 @@ fi # This should solve both /sbin and /usr/sbin not present when # doing 'su -c foo', or for something like: PATH= rcscript start case "${PATH}" in - /lib/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin) ;; - /lib/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:*) ;; - *) export PATH="/lib/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:${PATH}" ;; + /lib/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin) ;; + /lib/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:*) ;; + *) export PATH="/lib/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:${PATH}" ;; esac for arg in "$@" ; do |