aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xac-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh
index ce576c6..5a489a2 100755
--- a/ac-wrapper.sh
+++ b/ac-wrapper.sh
@@ -146,7 +146,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.]+)\..*'
sed -n -E "/${re}/{s:${re}:\3:;p;q}" "$@"
}