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:
Erik Faye-Lund 2014-04-15 22:19:43 +02:00
Родитель ce1f50efd0
Коммит eeaeecbbef
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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';