Cygwin Make 3.81 now requires /cygdrive/<drive>/... in fullpath names.

This commit is contained in:
Janet B. Anderson
2006-11-20 16:23:51 +00:00
parent db3407a3ab
commit 8fd5f456ce

View File

@@ -337,9 +337,7 @@ sub UnixPath {
sub LocalPath {
my ($newpath) = @_;
if ($^O eq "cygwin") {
$newpath =~ s{^/cygdrive/([a-zA-Z])/}{$1:/};
} elsif ($^O eq "darwin") {
if ($^O eq "darwin") {
# These rules are likely to be site-specific
$newpath =~ s{^/private/var/auto\.home/}{/home/}; # APS
}