mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 06:10:35 +00:00
Fix to work when run from the cygwin shell. Not part of the build.
This commit is contained in:
parent
3d59974e8a
commit
e0d068cef4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user