diff --git a/meson.build b/meson.build index 77d01ad6..6bdfdc8a 100644 --- a/meson.build +++ b/meson.build @@ -34,8 +34,9 @@ calendar_schemadir = join_paths(calendar_datadir, 'glib-2.0', 'schemas') # Options # ########### -rev_txt = run_command('git','rev-parse','--short','HEAD').stdout().strip() if get_option('profile') == 'development' + find_program('git') + rev_txt = run_command('git','rev-parse','--short','HEAD').stdout().strip() profile = 'Devel' name_suffix = ' (Development)' rev = '-@0@'.format(rev_txt)