Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Calling the default implementation of a function
Date: Sat, 31 Oct 2009 15:48:47
Message-Id: hchm76$bpr$1@ger.gmane.org
Is there a way to call the default implementation of a function inside 
the ebuild-specified one?

What I mean is:

src_prepare() {
	if [ "$PV" == "9999" ]; then
		./autogen.sh
	else
		src_prepare() # Default from eclass.
	fi
}

Possible?

Replies