From 539d593decbd24e67da295f5818da7c8a861d441 Mon Sep 17 00:00:00 2001 From: luke Date: Wed, 31 May 2006 18:30:59 +0000 Subject: fixing installer so it does not install batch files on darwin git-svn-id: http://reductivelabs.com/svn/facter/trunk@129 1f5c1d6a-bddf-0310-8f58-fc49e503516a --- install.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- cgit