From 7dabe954e23c0e9f4fb2029266dbe42bbb88eeee Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 6 Jul 2017 09:26:54 -0500 Subject: [PATCH] trivial: set FWUPD_GIT_DESCRIBE even if git isn't installed --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 57cb7bc5a..cb75738f0 100644 --- a/meson.build +++ b/meson.build @@ -17,13 +17,12 @@ conf.set('FWUPD_MICRO_VERSION', fwupd_micro_version) conf.set_quoted('PACKAGE_VERSION', fwupd_version) archiver = find_program('git', required : false) +conf.set('FWUPD_GIT_DESCRIBE', 0) if archiver.found() result = run_command('git', 'describe') if result.returncode() == 0 describe = result.stdout().strip() conf.set_quoted('FWUPD_GIT_DESCRIBE', describe) - else - conf.set('FWUPD_GIT_DESCRIBE', 0) endif endif