changed the windows signature check

This commit is contained in:
JT Smith 2005-06-14 19:48:23 +00:00
parent 594e27d9eb
commit 45eb557978
2 changed files with 2 additions and 2 deletions

View file

@ -319,7 +319,7 @@ sub open {
###----------------------------
### operating system specific things
$session{os}{name} = $^O;
if ($session{os}{name} =~ /Win/) {
if ($session{os}{name} =~ /MSWin32/i || $session{os}{name} =~ /^Win/i) {
$session{os}{type} = "Windowsish";
$session{os}{slash} = "\\";
} else {

View file

@ -221,7 +221,7 @@ sub getLatestWebguiVersion {
#----------------------------------------
sub getOs {
if ($^O =~ /^Win/) {
if ($^O =~ /MSWin32/i || $^O =~ /^Win/i) {
return "Windowsish";
}
return "Linuxish";