From aacd0bed58d16fd6fd5d3f2f71fb5a3fae6f3d3c Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 1 Sep 2011 10:28:11 +0100 Subject: 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…--- Library/Homebrew/formula.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3