From 21e5125e441ee64fa2634d9de640cc57efe565cd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 14 Aug 2014 17:07:38 +0200 Subject: build: Yet another autogen.sh --find-version change. -- --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index cafecc970..31cfeeb05 100755 --- a/autogen.sh +++ b/autogen.sh @@ -202,12 +202,12 @@ if [ "$myhost" = "find-version" ]; then case "$version_parts" in 2) - matchstr1="$package-$major.*[0-9]" + matchstr1="$package-$major.[0-9][0-9]*" matchstr2="$package-$major-base" vers="$major.$minor" ;; *) - matchstr1="$package-$major.$minor.*[0-9]" + matchstr1="$package-$major.$minor.[0-9][0-9]*" matchstr2="$package-$major.$minor-base" vers="$major.$minor.$micro" ;; -- cgit v1.2.3