Correct missing ? in build.with?("qt5")
Correct Messaging section:
missing ? in: build.with?("qt5")
This commit is contained in:
parent
4a90a5a5d6
commit
5159c8f6a6
@ -414,7 +414,7 @@ Three commands are provided for displaying informational messages to the user:
|
|||||||
In particular, when a test needs to be performed before installation use `odie` to bail out gracefully. For example:
|
In particular, when a test needs to be performed before installation use `odie` to bail out gracefully. For example:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
if build.with?("qt") && build.with("qt5")
|
if build.with?("qt") && build.with?("qt5")
|
||||||
odie "Options --with-qt and --with-qt5 are mutually exclusive."
|
odie "Options --with-qt and --with-qt5 are mutually exclusive."
|
||||||
end
|
end
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user