diff options
author | Volker Weißmann <volker.weissmann@gmx.de> | 2021-10-14 01:35:14 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-10-30 22:26:28 -0400 |
commit | 2c079d855ed87488bdcc6c5c06f59abdb9b85b6c (patch) | |
tree | 62206d581a9ff764d948da94d4478dba85bce765 /docs/markdown/howtox.md | |
parent | 3c103fe49ccca848d255b9b00365e74ce35400a4 (diff) | |
download | meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.zip meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.gz meson-2c079d855ed87488bdcc6c5c06f59abdb9b85b6c.tar.bz2 |
Added warning if run_command is called without the check kwarg
Diffstat (limited to 'docs/markdown/howtox.md')
-rw-r--r-- | docs/markdown/howtox.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md index 5c64bcb..91098aa 100644 --- a/docs/markdown/howtox.md +++ b/docs/markdown/howtox.md @@ -133,7 +133,7 @@ endif ## Set a command's output to configuration ```meson -txt = run_command('script', 'argument').stdout().strip() +txt = run_command('script', 'argument', check: true).stdout().strip() cdata = configuration_data() cdata.set('SOMETHING', txt) configure_file(...) |