aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2012-07-10 20:55:28 -0500
committerJack Nagel2012-08-18 11:12:09 -0500
commit741a4168d0c5455ecc1574ae1ebe08df1ebfddd8 (patch)
tree04fc7dca39a53f9ff1cc133efa1ba32ce59b9d25 /Library/Homebrew
parente57122780ec3c7dea535ea743930db97c9239037 (diff)
downloadbrew-741a4168d0c5455ecc1574ae1ebe08df1ebfddd8.tar.bz2
SoftwareSpec: simplify conditional
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_support.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 023d225d9..5c957f422 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -45,9 +45,7 @@ class SoftwareSpec
def url val=nil, specs=nil
return @url if val.nil?
@url = val
- if specs.nil?
- @using = nil
- else
+ unless specs.nil?
@using = specs.delete :using
@specs = specs
end