From 6cb403b4505af343840c5aa16e876d9b27cdc75f Mon Sep 17 00:00:00 2001 From: jgmdev Date: Sat, 5 Mar 2022 20:15:48 -0400 Subject: [PATCH] meson: increased min version to 0.47 and added check flag on run_command. --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 3821e24c..5b4662c3 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('lite-xl', ['c'], version : '2.0.5', license : 'MIT', - meson_version : '>= 0.42', + meson_version : '>= 0.47', default_options : [ 'c_std=gnu11', 'wrap_mode=nofallback' @@ -19,7 +19,8 @@ if get_option('buildtype') != 'release' if git_command.found() git_commit = run_command( - [git_command, 'rev-parse', 'HEAD'] + [git_command, 'rev-parse', 'HEAD'], + check : false ).stdout().strip() if git_commit != ''