Bug 226835 - Invalid string comparison operator in example 7.2 of the Porter's Handbook
Summary: Invalid string comparison operator in example 7.2 of the Porter's Handbook
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-21 22:23 UTC by Mateusz Piotrowski
Modified: 2018-03-23 08:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer 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 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.