Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 320021
Collapse All | Expand All

(-)/usr/portage/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild (-1 / +1 lines)
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

Return to bug 320021