Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346328 Details for
Bug 466844
sys-apps/portage: SHELL variable reset on each phase
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
example test-case
test-1.ebuild (text/plain), 768 bytes, created by
Ian Stakenvicius (RETIRED)
on 2013-04-22 20:30:02 UTC
(
hide
)
Description:
example test-case
Filename:
MIME Type:
Creator:
Ian Stakenvicius (RETIRED)
Created:
2013-04-22 20:30:02 UTC
Size:
768 bytes
patch
obsolete
># Note - python-2.7 is installed, that is why it is called directly >EAPI=5 >DESCRIPTION="This is a sample skeleton ebuild file" >HOMEPAGE="http://foo.example.org/" >SRC_URI="" >LICENSE="" >SLOT="0" >KEYWORDS="x86 amd64" >IUSE="compile" >DEPEND="" >RDEPEND="" >S=${WORKDIR} > >pkg_setup() { > use compile || export BUBBA=${SHELL} >} > >src_compile() { > einfo "Shell is $SHELL" > > use compile && export BUBBA=${SHELL} > > cat >${T}/test.c <<EOF >#include <stdio.h> >#include <stdlib.h> >int main(void) { > printf("C binary found %s\n",getenv("BUBBA")); > return(0); >} >EOF > gcc -o ${T}/testc ${T}/test.c > ${T}/testc > > cat >${T}/test.py <<EOF >import os >if __name__ == '__main__': > print "python found %s\n" % os.environ['BUBBA'] >EOF > /usr/bin/python2.7 ${T}/test.py > >} > >src_install() { > : >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 466844
: 346328