From 8329f99cf921db029d92c4694e7c2ad1d7dabdc2 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 3 Feb 2010 00:46:14 +0100 Subject: [PATCH] Fix serno.h for compiles from Mercurial. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 1f49300..90c861c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67,7 +67,7 @@ build: sh configure; \ fi @if [ -d .hg ] ; then \ - revh=`hg parents --template '#date|shortdate#_#node|short#' 2>/dev/null | sed -e s/-//g -e s/_/-/`;\ + revh=`hg parents --template '{date|shortdate}_{node|short}' 2>/dev/null | sed -e s/-//g -e s/_/-/`;\ [ -z "$$revh" ] || echo '#define SERNO "'$$revh'"' >include/serno.h ; \ fi @[ -f include/serno.h ] || echo '#define SERNO "unknown"' >include/serno.h