aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-30 11:55:22 +0000
committerRichard M. Stallman1994-05-30 11:55:22 +0000
commit47d105b07e6e454d991ed7e36683b11ad79e093a (patch)
tree1dc07d1424a1a26caf89d59a452b0108f40818c9
parent9a49418b11a33d8a90ca812395d3de918a672244 (diff)
downloademacs-47d105b07e6e454d991ed7e36683b11ad79e093a.tar.gz
emacs-47d105b07e6e454d991ed7e36683b11ad79e093a.zip
(shortversion): Don't assume another period follows.
-rwxr-xr-xmake-dist4
1 files changed, 3 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index 2aaac22585b..27592a258cc 100755
--- a/make-dist
+++ b/make-dist
@@ -63,7 +63,7 @@ fi
63 63
64### Find out which version of Emacs this is. 64### Find out which version of Emacs this is.
65shortversion=`grep 'defconst[ ]*emacs-version' lisp/version.el \ 65shortversion=`grep 'defconst[ ]*emacs-version' lisp/version.el \
66 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` 66 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
67version=`grep 'defconst[ ]*emacs-version' lisp/version.el \ 67version=`grep 'defconst[ ]*emacs-version' lisp/version.el \
68 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 68 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
69if [ ! "${version}" ]; then 69if [ ! "${version}" ]; then
@@ -71,6 +71,8 @@ if [ ! "${version}" ]; then
71 exit 1 71 exit 1
72fi 72fi
73 73
74echo $version and $shortversion
75
74if grep -s "GNU Emacs version ${shortversion}" ./man/emacs.texi > /dev/null; then 76if grep -s "GNU Emacs version ${shortversion}" ./man/emacs.texi > /dev/null; then
75 true 77 true
76else 78else