From d5600cf76a4d932a03ea75aea6dd6c997a4e2f35 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Tue, 22 Nov 2022 18:08:03 +0000 Subject: [PATCH] meson.build: strip newlines from git output Fixes issue #4223 Signed-off-by: Ramkumar Chinchani --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 93572975e..fe6808696 100644 --- a/meson.build +++ b/meson.build @@ -324,7 +324,7 @@ if time_epoch == '' and git.found() and run_command('test', '-e', '.git', check: # If we're in a git repository, use the creation time of the latest git tag. latest_tag = run_command(git, 'describe', '--abbrev=0', '--tags', check: false).stdout().strip() if latest_tag != '' - time_epoch = run_command(git, 'log', '--no-show-signature', '-1', '--format=%at', latest_tag, check: true).stdout() + time_epoch = run_command(git, 'log', '--no-show-signature', '-1', '--format=%at', latest_tag, check: true).stdout().strip() endif endif -- 2.47.2