Mercurial > emacs
changeset 7755:6191acd134b6
(shortversion): Don't assume another period follows.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 30 May 1994 11:55:22 +0000 |
parents | d02006c4ac42 |
children | 4f68024e4fb0 |
files | make-dist |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make-dist Mon May 30 11:50:27 1994 +0000 +++ b/make-dist Mon May 30 11:55:22 1994 +0000 @@ -63,7 +63,7 @@ ### Find out which version of Emacs this is. shortversion=`grep 'defconst[ ]*emacs-version' 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/'` version=`grep 'defconst[ ]*emacs-version' lisp/version.el \ | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` if [ ! "${version}" ]; then @@ -71,6 +71,8 @@ exit 1 fi +echo $version and $shortversion + if grep -s "GNU Emacs version ${shortversion}" ./man/emacs.texi > /dev/null; then true else