parent
1564a89f44
commit
b2b0f711b1
@ -132,7 +132,8 @@ class BuildOptions
|
||||
end
|
||||
|
||||
def opposite_of option
|
||||
option = Option.new option
|
||||
option = Option.new(option) unless Option == option
|
||||
|
||||
if option.name =~ /^with-(.+)$/
|
||||
Option.new("without-#{$1}")
|
||||
elsif option.name =~ /^without-(.+)$/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user