aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-28 18:25:59 -0500
committerJack Nagel2013-03-28 18:26:47 -0500
commitda5a4223e88e5ffd78110b34255e011205f4632f (patch)
tree8c45659399dc690d014b0a191d233367950437d6 /Library
parentc3c4a8b9139a750fbf950190b67243724b91a212 (diff)
downloadbrew-da5a4223e88e5ffd78110b34255e011205f4632f.tar.bz2
brew.rb: drop constant reassignment
Closes Homebrew/homebrew#18807.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/brew.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index f60d3d426..92de2cbee 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -4,7 +4,6 @@
std_trap = trap("INT") { exit! 130 } # no backtrace thanks
HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE']
-HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE'] ||= File.expand_path(__FILE__)
if ARGV == %w{--prefix}
puts File.dirname(File.dirname(HOMEBREW_BREW_FILE))