From eadf7de61b557a3a1b3cf139425465d4cbc7caee Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 7 Mar 2015 23:53:33 -0500 Subject: [PATCH] Decouple the install receipt from ARGV --- Library/Homebrew/tab.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 14c3e93d8a..84960e7eaa 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -15,7 +15,7 @@ class Tab < OpenStruct "used_options" => build.used_options.as_flags, "unused_options" => build.unused_options.as_flags, "tabfile" => formula.prefix.join(FILENAME), - "built_as_bottle" => !!ARGV.build_bottle?, + "built_as_bottle" => build.bottle?, "poured_from_bottle" => false, "tapped_from" => formula.tap, "time" => Time.now.to_i,