summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClinton Wolfe <clintoncwolfe@gmail.com>2022-03-24 19:01:16 -0400
committerClinton Wolfe <clintoncwolfe@gmail.com>2022-03-24 19:01:16 -0400
commit91da93e6e6bdfc5ac5e0506cbbce1b88430c9c76 (patch)
tree6684aec4e83ccc0cda1619edb1e8fa507b074747
parent2073582a4216cbaead0e2fa19ae46a94ee167610 (diff)
downloadmixlib-shellout-91da93e6e6bdfc5ac5e0506cbbce1b88430c9c76.tar.gz
Naively loosen platform regex to allow 64 or 32 bit mingw
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
-rw-r--r--lib/mixlib/shellout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb
index 9ee5376..0f4f6a8 100644
--- a/lib/mixlib/shellout.rb
+++ b/lib/mixlib/shellout.rb
@@ -28,7 +28,7 @@ module Mixlib
READ_SIZE = 4096
DEFAULT_READ_TIMEOUT = 600
- if RUBY_PLATFORM =~ /mswin|mingw32|windows/
+ if RUBY_PLATFORM =~ /mswin|mingw|windows/
require_relative "shellout/windows"
include ShellOut::Windows
else