Show
Ignore:
Timestamp:
10/13/04 10:09:19 (20 years ago)
Author:
jalet
Message:

More complete PATH.
pkhint doesn't use absolute path to search for helper commands anymore.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/autopykota

    r1803 r1814  
    2424# 
    2525# $Log$ 
     26# Revision 1.7  2004/10/13 08:09:19  jalet 
     27# More complete PATH. 
     28# pkhint doesn't use absolute path to search for helper commands anymore. 
     29# 
    2630# Revision 1.6  2004/10/11 22:53:05  jalet 
    2731# Postponed string interpolation to help message's output method 
     
    9397    def main(self, arguments, options) : 
    9498        """Main entry point.""" 
    95         os.environ["PATH"] = "%s:/bin:/usr/bin:/usr/local/bin:/opt/bin" % os.environ.get("PATH", "") 
     99        os.environ["PATH"] = "%s:/bin:/usr/bin:/usr/local/bin:/opt/bin:/sbin:/usr/sbin" % os.environ.get("PATH", "") 
    96100        username = os.environ.get("PYKOTAUSERNAME") 
    97101        printername = os.environ.get("PYKOTAPRINTERNAME")