From 3b8e453d2229a12602e337a08a78ad9f57e763b2 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Mon, 14 Feb 2022 20:22:23 +0000 Subject: [PATCH] build: set 'check: false' on run_command Future meson releases will change the default, so we explicitly set check: false to maintain behaviour --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2a391afc..68fd06db 100644 --- a/meson.build +++ b/meson.build @@ -30,7 +30,7 @@ add_project_arguments(cc.get_supported_arguments( version='"@0@"'.format(meson.project_version()) git = find_program('git', native: true, required: false) if git.found() - git_commit = run_command([git, 'describe', '--dirty']) + git_commit = run_command([git, 'describe', '--dirty'], check: false) if git_commit.returncode() == 0 version = '"@0@"'.format(git_commit.stdout().strip()) endif