Lines Matching refs:path
399 my $path = "${lk_path}MAINTAINERS";
401 $path = $maintainer_path;
403 …$path =~ s@^~([^/]*)@ $1 ? (getpwnam($1))[7] : ( $ENV{HOME} || $ENV{LOGDIR} || (getpwuid($<))[7])@…
406 if (-d $path) {
407 $path .= '/' if ($path !~ m@/$@);
412 }, "$path");
414 opendir(DIR, "$path") or die $!;
418 push(@mfiles, "$path$file") if ($file !~ /^\./);
421 } elsif (-f "$path") {
422 push(@mfiles, "$path");
424 die "$P: MAINTAINER file not found '$path'\n";
426 die "$P: No MAINTAINER files found in '$path'\n" if (scalar(@mfiles) == 0);
1470 foreach my $path (split(/:/, $ENV{PATH})) {
1471 if (-e "$path/$bin") {
1472 return "$path/$bin";
1482 foreach my $path (split(/:/, ".:$ENV{HOME}:.scripts")) {
1483 if (-e "$path/$conf") {
1484 return "$path/$conf";