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
commitd18c016a274ca6239fe0e3b736af3d6dc291ff3e (patch)
treea5dc6fdbdb6e88ab8d43f44129b54d6d641d44bb /Library
parent1ec1d36301c124021675eefb6883f8adf5506ff6 (diff)
downloadbrew-d18c016a274ca6239fe0e3b736af3d6dc291ff3e.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