aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2011-09-01 10:28:11 +0100
committerMax Howell2011-09-01 10:28:45 +0100
commitaacd0bed58d16fd6fd5d3f2f71fb5a3fae6f3d3c (patch)
treebd28eb8bf7bea595e5a977f6f9f0f3b9ff6ac303
parent2e80976a43dce1d78bdd1cc3bbf6b9c2d3d715cf (diff)
downloadhomebrew-aacd0bed58d16fd6fd5d3f2f71fb5a3fae6f3d3c.tar.bz2
cp CMakeCaches.txt not CMakeLists.txt
CMakeLists.txt is the build instructions not the build logs. The cache is not much better, but there is no equivalent of config.log, so…
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 6a7a9336a..7033a1e51 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -264,9 +264,9 @@ class Formula
mkdir_p logs
mv 'config.log', logs
end
- if File.exist? 'CMakeLists.txt'
+ if File.exist? 'CMakeCache.txt'
mkdir_p logs
- mv 'CMakeLists.txt', logs
+ mv 'CMakeCache.txt', logs
end
raise
end