aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>1994-01-08 22:06:34 +0000
committerRoland McGrath <[email protected]>1994-01-08 22:06:34 +0000
commite773d20a7b5dcdced6e7c3be71d1565d6ae3ba82 (patch)
tree20f49837a138e4187563611d71f4af4b6c420ac5
parentdbc52c10f4d9c6d7d7cca4c14c07048ec5752243 (diff)
(version): Fix sed regexp to match two-elt version number.
-rwxr-xr-xconfigure1.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure1.in b/configure1.in
index 1b32605829..86446302c6 100755
--- a/configure1.in
+++ b/configure1.in
@@ -1291,7 +1291,7 @@ fi
[
#### Find out which version of Emacs this is.
version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
- | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'`
+ | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)[."].*$/\1/'`
if [ x"${version}" = x ]; then
echo "${progname}: can't find current emacs version in
\`${srcdir}/lisp/version.el'." >&2