From 47a82b036e43e7119fb52123a908b3af8e3af76a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 9 Aug 2014 17:48:18 -0500 Subject: [PATCH] Move tab creation outside of the debug loop --- Library/Homebrew/build.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index ff35b797a0..8b50a3b688 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -163,8 +163,6 @@ class Build begin f.install - stdlibs = detect_stdlibs - Tab.create(f, ENV.compiler, stdlibs.first, f.build).write rescue Exception => e if ARGV.debug? debrew e, f @@ -173,6 +171,9 @@ class Build end end + stdlibs = detect_stdlibs + Tab.create(f, ENV.compiler, stdlibs.first, f.build).write + # Find and link metafiles f.prefix.install_metafiles Pathname.pwd end