aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2011-09-01 10:28:11 +0100
committerMax Howell2011-09-01 10:28:45 +0100
commit00cd7a3a9b3fc8748f1b4f8762ab08f61f87f4c2 (patch)
treeb3675378d16065a8277e3c59038ef43b51606267
parentd5071d5dede84acca4d6545228bf4b12fdb1ce37 (diff)
downloadbrew-00cd7a3a9b3fc8748f1b4f8762ab08f61f87f4c2.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