changeset 40:bc2df2421435

Make the $Author$ keyword a single word by replacing space characters with '+' characters. This makes the $Author$ field more spec compatible.
author Franz Glasner <hg@dom66.de>
date Tue, 21 Nov 2017 19:59:56 +0100
parents 534c958b2b2e
children ce7023fc4f71
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Nov 18 13:32:01 2017 +0100
+++ b/Makefile	Tue Nov 21 19:59:56 2017 +0100
@@ -25,7 +25,7 @@
 
 HGREVISION=	${:!hg id -R "${SRC}" -q!}
 HGDATE=		${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!}
-HGAUTHOR=	${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}'!}
+HGAUTHOR=	${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{author|person}' | ${TR} ' ' '+'!}
 HGPATH=		${:!hg paths -R "${SRC}" default!}
 
 do-extract: