diff options
| author | Roland McGrath | 1994-01-08 22:06:34 +0000 |
|---|---|---|
| committer | Roland McGrath | 1994-01-08 22:06:34 +0000 |
| commit | e773d20a7b5dcdced6e7c3be71d1565d6ae3ba82 (patch) | |
| tree | 20f49837a138e4187563611d71f4af4b6c420ac5 | |
| parent | dbc52c10f4d9c6d7d7cca4c14c07048ec5752243 (diff) | |
| download | emacs-e773d20a7b5dcdced6e7c3be71d1565d6ae3ba82.tar.gz emacs-e773d20a7b5dcdced6e7c3be71d1565d6ae3ba82.zip | |
(version): Fix sed regexp to match two-elt version number.
| -rwxr-xr-x | configure1.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure1.in b/configure1.in index 1b326058294..86446302c67 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -1291,7 +1291,7 @@ fi | |||
| 1291 | [ | 1291 | [ |
| 1292 | #### Find out which version of Emacs this is. | 1292 | #### Find out which version of Emacs this is. |
| 1293 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 1293 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
| 1294 | | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` | 1294 | | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)[."].*$/\1/'` |
| 1295 | if [ x"${version}" = x ]; then | 1295 | if [ x"${version}" = x ]; then |
| 1296 | echo "${progname}: can't find current emacs version in | 1296 | echo "${progname}: can't find current emacs version in |
| 1297 | \`${srcdir}/lisp/version.el'." >&2 | 1297 | \`${srcdir}/lisp/version.el'." >&2 |