| Summary: | Invalid string comparison operator in example 7.2 of the Porter's Handbook | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Mateusz Piotrowski <0mp> |
| Component: | Books & Articles | Assignee: | Mark Linimon <linimon> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | linimon |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
A commit references this bug: Author: linimon Date: Fri Mar 23 08:17:12 UTC 2018 New revision: 51513 URL: https://svnweb.freebsd.org/changeset/doc/51513 Log: Fix trivial typo. PR: 226835 Submitted by: 0mp Approved by: wblock (implicit) Changes: head/en_US.ISO8859-1/books/porters-handbook/flavors/chapter.xml Committed, thanks. |
Using the comparison syntax suggested by example 7.2[1]: .if ${FLAVOR} = x11 [enable x11 features] .endif results in the following error: > ... warning: String comparison operator should be either == or != [1]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/flavors-using.html