Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16211 - php and mod_php should not use sub shells
Summary: php and mod_php should not use sub shells
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-23 01:52 UTC by SpanKY
Modified: 2003-02-24 15:56 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 SpanKY gentoo-dev 2003-02-23 01:52:10 UTC
done in the ebuild you'll find this:

        use qt && ( \
                export QTDIR=/usr/qt/2 #hope this helps - danarmak
                myconf="${myconf} --with-qtdom"
        )

this will not actually modify the variable myconf outside of the subshell ...
i didnt scan the whole ebuild, so i'm not sure if this is the *only* time this 
happens ...
Comment 1 SpanKY gentoo-dev 2003-02-23 01:53:04 UTC
oh, i forget to mention that this would work:
use qt && {
 myconf="${myconf} blah blah"
}

notice usage of { } instead of ( ) ...
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2003-02-24 15:56:39 UTC
thanks!