aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/config.rb')
-rw-r--r--Library/Homebrew/config.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb
index fe153bf6d..bd8e3e53c 100644
--- a/Library/Homebrew/config.rb
+++ b/Library/Homebrew/config.rb
@@ -26,8 +26,8 @@ undef cache
# Where brews installed via URL are cached
HOMEBREW_CACHE_FORMULA = HOMEBREW_CACHE+"Formula"
-if not defined? HOMEBREW_BREW_FILE
- HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE'] || which('brew').to_s
+unless defined? HOMEBREW_BREW_FILE
+ HOMEBREW_BREW_FILE = ENV["HOMEBREW_BREW_FILE"] || which("brew").to_s
end
# Where we link under
@@ -47,11 +47,11 @@ else
HOMEBREW_REPOSITORY+"Cellar"
end
-HOMEBREW_LOGS = Pathname.new(ENV['HOMEBREW_LOGS'] || '~/Library/Logs/Homebrew/').expand_path
+HOMEBREW_LOGS = Pathname.new(ENV["HOMEBREW_LOGS"] || "~/Library/Logs/Homebrew/").expand_path
-HOMEBREW_TEMP = Pathname.new(ENV.fetch('HOMEBREW_TEMP', '/tmp'))
+HOMEBREW_TEMP = Pathname.new(ENV.fetch("HOMEBREW_TEMP", "/tmp"))
-if not defined? HOMEBREW_LIBRARY_PATH
+unless defined? HOMEBREW_LIBRARY_PATH
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")
end