Bug 226835

Summary: Invalid string comparison operator in example 7.2 of the Porter's Handbook
Product: Documentation Reporter: Mateusz Piotrowski <0mp>
Component: Books & ArticlesAssignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-03-21 22:23:05 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-03-23 08:17:18 UTC
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
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2018-03-23 08:17:59 UTC
Committed, thanks.