summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.rb b/install.rb
index 6dfa33e..89439d0 100644
--- a/install.rb
+++ b/install.rb
@@ -246,7 +246,8 @@ def install_binfile(from, op_file, target)
end
end
- if Config::CONFIG["target_os"] =~ /win/io
+ # We don't want bat files on darwin
+ if Config::CONFIG["target_os"] =~ /win/io and Config::CONFIG["target_os"] !~ /darwin/
installed_wrapper = false
if File.exists?("#{from}.bat")