build: Add explicit kwarg to run_command call

This commit is contained in:
Titouan Real
2023-06-07 15:51:30 +02:00
parent 64f9aaca4b
commit e70735d206
+1 -1
View File
@@ -35,7 +35,7 @@ calendar_schemadir = calendar_datadir / 'glib-2.0' / 'schemas'
if get_option('profile') == 'development'
find_program('git')
rev_txt = run_command('git','rev-parse','--short','HEAD').stdout().strip()
rev_txt = run_command('git','rev-parse','--short','HEAD', check: true).stdout().strip()
profile = 'Devel'
name_suffix = ' (Development)'
rev = '-@0@'.format(rev_txt)