Browse Source

eat ditto warnings

a cheap way to address #17.

i don't really like it, but after a bunch of research and
experimentation to figure out if we can skip `.Trashes` or remove it,
this was the best i could come up with.
phinze 12 years ago
parent
commit
c44192c1d3
  1. 2
      lib/cask/installer.rb

2
lib/cask/installer.rb

@ -7,7 +7,7 @@ class Cask::Installer
FileUtils.mkdir_p cask.destination_path
_with_extracted_mountpoints(downloaded_path) do |mountpoint|
puts `ditto '#{mountpoint}' '#{cask.destination_path}'`
`ditto '#{mountpoint}' '#{cask.destination_path}' 2>/dev/null`
end
ohai "Success! #{cask} installed to #{cask.destination_path}"

Loading…
Cancel
Save