Add curly brackets to list of characters that gn needs to escape

Desktop / Chromium - ollel [opera.com] - 21 April 2017 03:46 EDT

Curly brackets {} needs to be escaped to avoid brace expansion on systems using bash as the default shell.

BUG=709934

Review-Url: https://codereview.chromium.org/2809633002 Cr-Commit-Position: refs/heads/master@{#466286}

7fd3f67 Add curly brackets to list of characters that gn needs to escape
tools/gn/escape.cc | 2 +-
tools/gn/escape_unittest.cc | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)

Upstream: git.chromium.org


  • Share