Skip to content

Commit

Permalink
Fixed Darwin/Windows confusion in Rakefile
Browse files Browse the repository at this point in the history
-windows = (RUBY_PLATFORM =~ /win/) rescue nil
+windows = (RUBY_PLATFORM =~ /win32|cygwin/) rescue nil
  • Loading branch information
dbalmain committed Nov 26, 2008
1 parent ff6f080 commit e568134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def prompt(msg)
end
end

windows = (RUBY_PLATFORM =~ /win/) rescue nil
windows = (RUBY_PLATFORM =~ /win32|cygwin/) rescue nil
SUDO = windows ? "" : "sudo "


Expand Down

0 comments on commit e568134

Please sign in to comment.