Lines 87-93
Link Here
|
87 |
|
87 |
|
88 |
src_prepare() { |
88 |
src_prepare() { |
89 |
if [ "${PV##*.}" = "9999" ]; then |
89 |
if [ "${PV##*.}" = "9999" ]; then |
90 |
FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \ |
90 |
FULL_VERSION=$(grep 'emacs_version\[\] = ' src/emacs.c \ |
91 |
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') |
91 |
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') |
92 |
[ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" |
92 |
[ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" |
93 |
echo |
93 |
echo |