summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-08-14 17:07:38 +0200
committerWerner Koch <wk@gnupg.org>2014-08-14 17:15:25 +0200
commit21e5125e441ee64fa2634d9de640cc57efe565cd (patch)
tree98549d5c5c975b4dd8ee1a6dbbf40acd3e4409b0 /autogen.sh
parentgpg: Screen keyserver responses. (diff)
downloadgnupg2-21e5125e441ee64fa2634d9de640cc57efe565cd.tar.xz
gnupg2-21e5125e441ee64fa2634d9de640cc57efe565cd.zip
build: Yet another autogen.sh --find-version change.
--
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
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"
;;