diff make-dist @ 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 836cfa8829a7
children cba3121c44b7
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