From 53b5ccc9d8a7ffaa273908240e5689d504f6e0ce Mon Sep 17 00:00:00 2001 From: chatlanin Date: Fri, 19 Jul 2024 11:55:56 +0300 Subject: [PATCH] add check --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index e70fb15..aac51f9 100755 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( meson.current_source_dir().split('/').get(-1), 'cpp', - version : run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip(), + version : run_command('git', 'rev-parse', '--short', 'HEAD', check: false).stdout().strip(), default_options : [ 'warning_level=1', 'optimization=3',