Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367919 - libbash doesn't support function definition inside compound statement
Summary: libbash doesn't support function definition inside compound statement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 14:26 UTC by Mu Qiao (RETIRED)
Modified: 2011-05-29 12:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mu Qiao (RETIRED) gentoo-dev 2011-05-18 14:26:21 UTC
dev-embedded/sdcc can tell the problem.

if [[ ${PV} == "9999" ]] ; then
	ESVN_REPO_URI="https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc"
	inherit subversion autotools
	docs_compile() { return 0; }
else
	SRC_URI="mirror://sourceforge/sdcc/${PN}-src-${PV}.tar.bz2
		doc? ( mirror://sourceforge/sdcc/${PN}-doc-${PV}.tar.bz2 )"
	KEYWORDS="~amd64 ~ppc ~x86"
	docs_compile() { return 1; }
fi
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2011-05-18 14:33:31 UTC
parser or walker level problem?
Comment 2 Mu Qiao (RETIRED) gentoo-dev 2011-05-18 14:55:48 UTC
It's a parser level problem.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2011-05-29 12:05:55 UTC
Fixed nowadays.