Home | History | Annotate | Download | only in bin

Lines Matching full:path

12     for dir in os.environ['PATH'].split(':'):
13 file = os.path.join(os.path.expandvars(os.path.expanduser(dir)), cmd)
14 if os.path.exists(file):
31 if not os.path.isabs(glob_pattern):
32 # prepend with a base path of '/etc'
33 glob_pattern = os.path.join('/etc', glob_pattern)
37 if os.path.isdir(conf_file_line):
40 if os.path.isdir(line):
47 file = os.path.join(dir, lib)
48 if os.path.exists(file):
61 file = os.path.join(dir, hdr)
62 if os.path.exists(file):