зеркало из https://github.com/github/msysgit.git
perl: make File::Spec treat msys as Window
Since our Perl installation is there to cater to Git for Windows, which is not an msys program, it would be better for it to treat paths as Win32 paths. So let's tweak it to do just that.
This commit is contained in:
Родитель
ce1f50efd0
Коммит
eeaeecbbef
|
@ -14,7 +14,8 @@ my %module = (MacOS => 'Mac',
|
|||
NetWare => 'Win32', # Yes, File::Spec::Win32 works on NetWare.
|
||||
symbian => 'Win32', # Yes, File::Spec::Win32 works on symbian.
|
||||
dos => 'OS2', # Yes, File::Spec::OS2 works on DJGPP.
|
||||
cygwin => 'Cygwin');
|
||||
cygwin => 'Cygwin',
|
||||
msys => 'Win32');
|
||||
|
||||
|
||||
my $module = $module{$^O} || 'Unix';
|
||||
|
|
Загрузка…
Ссылка в новой задаче