changeset 5526:5131e7d642b9

(version): Fix sed regexp to match two-elt version number.
author Roland McGrath <roland@gnu.org>
date Sat, 08 Jan 1994 22:06:34 +0000
parents 1d84e80b47a4
children 51451a050975
files configure1.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Sat Jan 08 21:52:28 1994 +0000
+++ b/configure1.in	Sat Jan 08 22:06:34 1994 +0000
@@ -1291,7 +1291,7 @@
 [
 #### 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