From ccb8a7be2efa4230704e22b7a7076263616808c2 Mon Sep 17 00:00:00 2001 From: Jehan Date: Sat, 14 Oct 2023 17:11:55 +0200 Subject: [PATCH] meson: fix inserting generation date and time in authors.md. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 4cdddacbe3..57cea93af0 100644 --- a/meson.build +++ b/meson.build @@ -1751,12 +1751,13 @@ custom_target('AUTHORS', ], build_by_default: false, ) +date = run_command('date', '--iso-8601=seconds', check: true) custom_target('authors.md', input : [ 'authors4gimp-web.xsl', 'authors.xml', ], output: 'authors.md', command: [ xsltproc, - '--stringparam', 'today', '`date --iso-8601=seconds`', + '--stringparam', 'today', date.stdout().strip(), '-o', '@OUTPUT@', '@INPUT@', ],