aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-29 22:51:10 -0500
committerJack Nagel2014-08-29 22:51:10 -0500
commit82e1da3655c332a2527a4062cdd96fe62f3fa8c7 (patch)
treefbbf6e60004069d8ca3140f71fc5ca545f4a7ea0 /Library
parent1a411cf19f5be7d92a366ce7669e2fe4b360dfc6 (diff)
downloadhomebrew-82e1da3655c332a2527a4062cdd96fe62f3fa8c7.tar.bz2
Use cp because install warns on empty arrays
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 8bbd822f4..8a6041030 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -261,7 +261,7 @@ class Formula
# so load any deps before this point! And exit asap afterwards
yield self
ensure
- (HOMEBREW_LOGS+name).install Dir["config.log", "CMakeCache.txt"]
+ cp Dir["config.log", "CMakeCache.txt"], HOMEBREW_LOGS+name
end
end
end