]> git.eshelyaron.com Git - emacs.git/commitdiff
(shortversion): Don't assume another period follows.
authorRichard M. Stallman <rms@gnu.org>
Mon, 30 May 1994 11:55:22 +0000 (11:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 30 May 1994 11:55:22 +0000 (11:55 +0000)
make-dist

index 2aaac22585bda446efedc93e87dd1ab82adc4920..27592a258cc3f6e79cf448c08b70ade478e0eb5b 100755 (executable)
--- 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