Accept -s as shorthand for --build-from-source
This is experimental and will be reverted if it causes problems. Closes Homebrew/homebrew#30392.
This commit is contained in:
parent
32d84377d5
commit
ef9f6ec4af
@ -132,7 +132,7 @@ module HomebrewArgvExtension
|
||||
end
|
||||
|
||||
def build_from_source?
|
||||
include? '--build-from-source' or !ENV['HOMEBREW_BUILD_FROM_SOURCE'].nil?
|
||||
switch?("s") || include?("--build-from-source") || !!ENV["HOMEBREW_BUILD_FROM_SOURCE"]
|
||||
end
|
||||
|
||||
def flag? flag
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user