bottle: use if-else branch instead of exit
This commit is contained in:
parent
c7d82a3881
commit
fb1789ad3d
@ -278,14 +278,15 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
exit 0
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def bottle
|
def bottle
|
||||||
merge if ARGV.include? "--merge"
|
if ARGV.include? "--merge"
|
||||||
|
merge
|
||||||
|
else
|
||||||
ARGV.resolved_formulae.each do |f|
|
ARGV.resolved_formulae.each do |f|
|
||||||
bottle_formula f
|
bottle_formula f
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user