diff options
author | Werner Koch <wk@gnupg.org> | 2014-08-14 17:07:38 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-08-14 17:15:25 +0200 |
commit | 21e5125e441ee64fa2634d9de640cc57efe565cd (patch) | |
tree | 98549d5c5c975b4dd8ee1a6dbbf40acd3e4409b0 /autogen.sh | |
parent | gpg: Screen keyserver responses. (diff) | |
download | gnupg2-21e5125e441ee64fa2634d9de640cc57efe565cd.tar.xz gnupg2-21e5125e441ee64fa2634d9de640cc57efe565cd.zip |
build: Yet another autogen.sh --find-version change.
--
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
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" ;; |