diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-31 18:30:59 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-31 18:30:59 +0000 |
commit | 539d593decbd24e67da295f5818da7c8a861d441 (patch) | |
tree | 0e2f645a5cf39c9de8323fc4a08f36633771ed4f | |
parent | 4c1d5e0e70d0cd41b3efad5bff980f6625b216ae (diff) | |
download | facter-539d593decbd24e67da295f5818da7c8a861d441.tar.gz facter-539d593decbd24e67da295f5818da7c8a861d441.tar.xz facter-539d593decbd24e67da295f5818da7c8a861d441.zip |
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
-rw-r--r-- | install.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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") |