diff options
author | 2022-12-07 20:43:47 +0000 | |
---|---|---|
committer | 2022-12-07 20:46:03 +0000 | |
commit | afe80def609c91d72df73837ce2c51fed8b69f28 (patch) | |
tree | d6a937eb77d9b0f32521bd22498ba60e1103278d | |
parent | am-wrapper.sh: handle 9999 too (diff) | |
download | autotools-wrappers-at-20221207.tar.gz autotools-wrappers-at-20221207.tar.bz2 autotools-wrappers-at-20221207.zip |
ac-wrapper.sh: fix autoconf regexat-20221207
We need to optionally match the ., not require digits following period in version group.
Bug: https://bugs.gentoo.org/870169
Fixes: 6f9e65b68174b938714100f34f399844f8d2cb93
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | ac-wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh index fb10d1c..9499ace 100755 --- a/ac-wrapper.sh +++ b/ac-wrapper.sh @@ -147,7 +147,7 @@ acprereq_version() { } generated_version() { - local re='^# Generated (by (GNU )?Autoconf|automatically using autoconf version) ([0-9.]+)\..*' + local re='^# Generated (by (GNU )?Autoconf|automatically using autoconf version) (([0-9]+.)+[0-9]+).*$' sed -n -E "/${re}/{s:${re}:\3:;p;q}" "$@" } |