From 6d01a139484e72d87b4c787f83e7f4769e6e0877 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Fri, 22 Dec 2006 13:28:14 +0100 Subject: [PATCH] Leave dotted version strings alone; do not strip dotted triplets into tuplets. --- stepmake/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 25a0f5426b..b69dc9c23b 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -34,7 +34,7 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [ ## grab the first version number in --version output. eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '\(^\| \)[0-9][0-9]*\.[0-9]' \ | head -n 1 \ - | tr ' ' '\n' | sed 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g' | grep '\(^\| \)[0-9][0-9]*\.[0-9]' | head -n 1\`\" + | tr ' ' '\n' | sed 's/\([0-9][0-9]*\.[0-9][0-9.]*\).*/\1/g' | grep '\(^\| \)[0-9][0-9]*\.[0-9]' | head -n 1\`\" if test -z "$_ver"; then ## If empty, try date [fontforge] -- 2.39.2