From 46e93c0c0dafc381e8a308b1befb07e908121722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bellegarde?= Date: Mon, 20 May 2024 11:05:51 +0200 Subject: [PATCH] meson: Fix dist --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 0440f950..87261bae 100644 --- a/meson.build +++ b/meson.build @@ -9,7 +9,7 @@ profile = get_option('profile') appid_suffix = '' name_suffix = '' if profile == 'auto' - if run_command('[', '-d', '.git', ']').returncode() == 0 + if run_command('[', '-d', '.git', ']', check: false).returncode() == 0 profile = 'development' else error('No build profile specified, see BUILDING.md') @@ -170,7 +170,7 @@ geary_id = 'org.gnome.Geary@0@'.format(appid_suffix) geary_version = meson.project_version() revno = get_option('revno') if revno == '' - revno = run_command('build-aux/git_version.py').stdout().strip() + revno = run_command('build-aux/git_version.py', check: false).stdout().strip() endif gnome = import('gnome')