summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-08-05 10:55:37 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-08-05 10:56:06 +0400
commita755e2ae77035aad9644adadaec5ecf15e9656ba (patch)
treefa5f51a3ba9f0a6243e52524a795f7507b1dd56c
parent5df900c8bcd6c16c7cd0d2e6452786c20fcbb798 (diff)
downloadgcab-a755e2ae77035aad9644adadaec5ecf15e9656ba.tar.gz
meson: fix new warning about run_command()
See also: https://github.com/mesonbuild/meson/issues/9300 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index d1bd3da..15fd5cd 100644
--- a/meson.build
+++ b/meson.build
@@ -8,7 +8,7 @@ project('gcab', 'c',
git_version = []
git = find_program('git', required: false)
if git.found()
- git_version = run_command(git, 'describe', '--abbrev=4', '--dirty').stdout().strip().split('-')
+ git_version = run_command(git, 'describe', '--abbrev=4', '--dirty', check: true).stdout().strip().split('-')
endif
# libtool versioning