changed the windows signature check
This commit is contained in:
parent
594e27d9eb
commit
45eb557978
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ sub getLatestWebguiVersion {
|
|||
|
||||
#----------------------------------------
|
||||
sub getOs {
|
||||
if ($^O =~ /^Win/) {
|
||||
if ($^O =~ /MSWin32/i || $^O =~ /^Win/i) {
|
||||
return "Windowsish";
|
||||
}
|
||||
return "Linuxish";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue