From 375a655317758d8529692a3e0c16d8aa85acd64a Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 12 Nov 2010 19:46:33 +0000 Subject: [PATCH] Fix windows platform detection git-svn-id: file:///home/svn/framework3/trunk@11012 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/compat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/compat.rb b/lib/rex/compat.rb index 954ea7dc2a..f16430aacf 100644 --- a/lib/rex/compat.rb +++ b/lib/rex/compat.rb @@ -37,7 +37,7 @@ ENABLE_PROCESSED_INPUT = 1 def self.is_windows return @@is_windows if @@is_windows - @@is_windows = (RUBY_PLATFORM =~ /mswin32/) ? true : false + @@is_windows = (RUBY_PLATFORM =~ /mswin32|mingw32/) ? true : false end def self.is_cygwin