[gtk-vnc] Add 'check' arg to meson run_command()
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Add 'check' arg to meson run_command()
- Date: Thu, 14 Jul 2022 08:56:13 +0000 (UTC)
commit e9a594c5f4a9db7ae86219a3960a01bffc7acce6
Author: Daniel P. Berrangé <dan berrange com>
Date: Thu Jul 14 09:04:08 2022 +0100
Add 'check' arg to meson run_command()
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index bf72f13..fec4fab 100644
--- a/meson.build
+++ b/meson.build
@@ -24,7 +24,7 @@ conf_data.set('version_micro', version_micro)
# ninja dist helper
meson.add_dist_script('build-aux/dist.sh', meson.source_root(), meson.build_root())
-git = run_command('test', '-d', '.git').returncode() == 0
+git = run_command('test', '-d', '.git', check: false).returncode() == 0
if git
test(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]