From 00cd7a3a9b3fc8748f1b4f8762ab08f61f87f4c2 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 1 Sep 2011 10:28:11 +0100 Subject: [PATCH] cp CMakeCaches.txt not CMakeLists.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 6a7a9336a1..7033a1e519 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