Show
Ignore:
Timestamp:
01/18/04 08:26:37 (11 years ago)
Author:
khali
Message:

Ensure /usr/local/sbin is in runner's path.

Fix /sbin too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/sensors-detect

    r2173 r2227  
    3434# Just in case a root user doesn't have /sbin in his/her path for some reason 
    3535# (was seen once) 
    36 $ENV{PATH} .= '/sbin:' 
     36$ENV{PATH} = '/sbin:'.$ENV{PATH} 
    3737        unless $ENV{PATH} =~ m,(^|:)/sbin/?(:|$),; 
     38# Same for /usr/local/sbin since we need i2cdetect which is installed there 
     39# by default (reported by Lennard Klein) 
     40$ENV{PATH} = '/usr/local/sbin:'.$ENV{PATH} 
     41        unless $ENV{PATH} =~ m,(^|:)/usr/local/sbin/?(:|$),; 
    3842 
    3943#########################