Use cp because install warns on empty arrays

This commit is contained in:
Jack Nagel 2014-08-29 22:51:10 -05:00
parent 1ec1d36301
commit d18c016a27

View File

@ -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