diff --git a/configure/tools/convertRelease.pl b/configure/tools/convertRelease.pl index eb92cd233..7265b3101 100755 --- a/configure/tools/convertRelease.pl +++ b/configure/tools/convertRelease.pl @@ -337,7 +337,9 @@ sub UnixPath { sub LocalPath { my ($newpath) = @_; - if ($^O eq "darwin") { + if ($^O eq "cygwin") { + $newpath =~ s{^/cygdrive/([a-zA-Z])/}{$1:/}; + } elsif ($^O eq "darwin") { # These rules are likely to be site-specific $newpath =~ s{^/private/var/auto\.home/}{/home/}; # APS } diff --git a/src/makeBaseApp/makeBaseApp.pl b/src/makeBaseApp/makeBaseApp.pl index da8352eb6..d6f69a3fb 100755 --- a/src/makeBaseApp/makeBaseApp.pl +++ b/src/makeBaseApp/makeBaseApp.pl @@ -494,7 +494,9 @@ sub UnixPath { sub LocalPath { my ($newpath) = @_; - if ($^O eq "darwin") { + if ($^O eq "cygwin") { + $newpath =~ s{^/cygdrive/([a-zA-Z])/}{$1:/}; + } elsif ($^O eq "darwin") { # These rules are likely to be site-specific $newpath =~ s{^/private/var/auto\.home/}{/home/}; # APS }