From: Richard M. Stallman Date: Mon, 30 May 1994 11:55:22 +0000 (+0000) Subject: (shortversion): Don't assume another period follows. X-Git-Tag: emacs-19.34~8098 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=47d105b07e6e454d991ed7e36683b11ad79e093a;p=emacs.git (shortversion): Don't assume another period follows. --- diff --git a/make-dist b/make-dist index 2aaac22585b..27592a258cc 100755 --- a/make-dist +++ b/make-dist @@ -63,7 +63,7 @@ fi ### 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 @@ if [ ! "${version}" ]; then exit 1 fi +echo $version and $shortversion + if grep -s "GNU Emacs version ${shortversion}" ./man/emacs.texi > /dev/null; then true else