[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101933: * make-dist: Remove the unne
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101933: * make-dist: Remove the unnecessary $shortversion. |
Date: |
Tue, 12 Oct 2010 01:01:11 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101933
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2010-10-12 01:01:11 -0700
message:
* make-dist: Remove the unnecessary $shortversion.
modified:
make-dist
=== modified file 'make-dist'
--- a/make-dist 2010-10-12 07:46:57 +0000
+++ b/make-dist 2010-10-12 08:01:11 +0000
@@ -153,8 +153,6 @@
fi
### Find out which version of Emacs this is.
-shortversion=`grep 'char emacs_version' src/emacs.c \
- | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
version=`grep 'char emacs_version' src/emacs.c \
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
if [ ! "${version}" ]; then
@@ -162,11 +160,11 @@
exit 1
fi
-echo Version numbers are $version and $shortversion
+echo Version number is $version
if [ $update = yes ];
then
- if grep -s "@set EMACSVER *${shortversion}" ./doc/emacs/emacsver.texi >
/dev/null; then
+ if grep -s "@set EMACSVER *${version}" ./doc/emacs/emacsver.texi >
/dev/null; then
true
else
echo "You must update the version number in \`./doc/emacs/emacsver.texi'"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101933: * make-dist: Remove the unnecessary $shortversion.,
Glenn Morris <=