Summary: | sys-apps/portage-2.2.1 egencache gives confusing error when using "--repositories-configuration" | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240187 |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
2013-08-25 22:11:38 UTC
You've done it correctly. You can use "$(< /path/to/repos.conf)" without cat. Hrm, I guess reading the docs it does kinda make sense looking backwards, it just wasn't obvious it would work that way looking forwards. ( That, and expecting an inline form of an INI-format-like file just struck me as weird ). It seems plausible you could add an edge case for when the contents was a filename ( or even have an argument that provided a filename instead of this one ). And thanks for the $(< ) trick, didn't realise that =) We can definitely clarify the documentation. The reason that it uses the INI format directly is that this option is a convenience for people who don't want to bother with a separate config file (if they wanted to use config files then they could use --config-root instead). |