Fix to work when run from the cygwin shell. Not part of the build.

This commit is contained in:
dmose%mozilla.org 2004-12-27 20:21:12 +00:00
parent 3d59974e8a
commit e0d068cef4

View File

@ -1126,6 +1126,8 @@ sub unix_to_win {
$path =~ s/$path_sep/$win_sep/g;
}
# translate cygwin-style paths, since the shells are not linked with cygwin
$path =~ s#^/cygdrive/([a-zA-Z])/#\1:/#;
return $path;
}