Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316693 - Portage is unable to source profile.bashrc files when profile path contains newlines
Summary: Portage is unable to source profile.bashrc files when profile path contains n...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 16:48 UTC by Michał Górny
Modified: 2021-01-12 14:16 UTC (History)
1 user (show)

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-04-22 16:48:35 UTC
Portage uses newline-separated list to pass the profile path list to the bash code in ebuild.sh. This causes it to fail to properly pass them whenever any of them contains newline characters.

Portage should instead support setting bash arrays in configuration environment (and then, in make.conf). This would add support for special characters in PORTDIR_OVERLAY too.