[all-commits] [llvm/llvm-project] 187204: [gn build] use \bfoo\b instead of \<foo\> in sync ...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Feb 19 09:32:09 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 187204cd746f537405d11ee27d60d8ab59c9192d
      https://github.com/llvm/llvm-project/commit/187204cd746f537405d11ee27d60d8ab59c9192d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M llvm/utils/gn/build/sync_source_lists_from_cmake.py

  Log Message:
  -----------
  [gn build] use \bfoo\b instead of \<foo\> in sync script

\<foo\> is more correct, but since we use shell=True on Windows,
the < and > get interpreted as redirection operators.

Rather than adding cmd escaping, just use \bfoo\b, which is Good
Enough Often Enough.




More information about the All-commits mailing list