[Spice-devel] [PATCH spice-server 3/3] fixup! Update gitlab-ci to use meson
Frediano Ziglio
fziglio at redhat.com
Wed Jul 25 09:07:36 UTC 2018
Check printf command execution
---
server/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/meson.build b/server/meson.build
index faffc5d69..707551e5b 100644
--- a/server/meson.build
+++ b/server/meson.build
@@ -11,7 +11,7 @@ if not version_info[3].contains('git')
micro += 1
endif
micro = '@0@'.format(micro)
-cmd = run_command('printf', ['"0x%02x%02x%02x"', major, minor, micro])
+cmd = run_command('printf', ['"0x%02x%02x%02x"', major, minor, micro], check : true)
version_data = configuration_data()
version_data.set('SPICE_SERVER_VERSION', cmd.stdout().strip())
spice_version_h = configure_file(input : 'spice-version.h.in',
--
2.17.1
More information about the Spice-devel
mailing list