aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-03-07 23:53:33 -0500
committerJack Nagel2015-03-07 23:53:33 -0500
commiteadf7de61b557a3a1b3cf139425465d4cbc7caee (patch)
treef2f8ce4c4f3bbb68fcff50ce762d341c1150c804
parentd57d63ad62e7dfd6312e39bc23f1e900800e7c40 (diff)
downloadbrew-eadf7de61b557a3a1b3cf139425465d4cbc7caee.tar.bz2
Decouple the install receipt from ARGV
-rw-r--r--Library/Homebrew/tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 14c3e93d8..84960e7ea 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,