diff admin/quick-install-emacs @ 108602:ed8614d73caa

Update scripts and text to refer to version number string in emacs.c instead of version.el.
author Ken Raeburn <raeburn@raeburn.org>
date Sat, 15 May 2010 17:12:44 -0400
parents cdbf4c64ae3c
children dedcf813aa69
line wrap: on
line diff
--- a/admin/quick-install-emacs	Sat May 15 17:11:37 2010 -0400
+++ b/admin/quick-install-emacs	Sat May 15 17:12:44 2010 -0400
@@ -171,7 +171,7 @@
 test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; }
 test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; }
 
-VERSION=`grep 'defconst[	 ]*emacs-version' $SRC/lisp/version.el \
+VERSION=`grep 'char emacs_version' $SRC/src/emacs.c \
          | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
 
 DST_SHARE="$prefix/share/emacs/$VERSION"