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…
This commit is contained in:
parent
d5071d5ded
commit
00cd7a3a9b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user