Mercurial > emacs
comparison make-dist @ 1112:1dba066c1e0a
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sun, 13 Sep 1992 10:54:38 +0000 |
parents | d8d503897aa5 |
children | 313f56268d18 |
comparison
equal
deleted
inserted
replaced
1111:95f094fdd81e | 1112:1dba066c1e0a |
---|---|
56 exit 1 | 56 exit 1 |
57 fi | 57 fi |
58 | 58 |
59 # Find out which version of Emacs this is. | 59 # Find out which version of Emacs this is. |
60 version=`grep 'defconst[ ]*emacs-version' lisp/version.el \ | 60 version=`grep 'defconst[ ]*emacs-version' lisp/version.el \ |
61 | sed -e 's/^.*"\([0-9]+\.[0-9]+\)\..*$/\1/'` | 61 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` |
62 if [ ! "${version}" ]; then | 62 if [ ! "${version}" ]; then |
63 echo "${progname}: can't find current emacs version in \`./lisp/version.el'." >&2 | 63 echo "${progname}: can't find current emacs version in \`./lisp/version.el'." >&2 |
64 exit 1 | 64 exit 1 |
65 fi | 65 fi |
66 | 66 |