Move tab creation outside of the debug loop

This commit is contained in:
Jack Nagel 2014-08-09 17:48:18 -05:00
parent 105db77fc0
commit 47a82b036e

View File

@ -163,8 +163,6 @@ class Build
begin begin
f.install f.install
stdlibs = detect_stdlibs
Tab.create(f, ENV.compiler, stdlibs.first, f.build).write
rescue Exception => e rescue Exception => e
if ARGV.debug? if ARGV.debug?
debrew e, f debrew e, f
@ -173,6 +171,9 @@ class Build
end end
end end
stdlibs = detect_stdlibs
Tab.create(f, ENV.compiler, stdlibs.first, f.build).write
# Find and link metafiles # Find and link metafiles
f.prefix.install_metafiles Pathname.pwd f.prefix.install_metafiles Pathname.pwd
end end