Summary: | eselect env update hangs if binary file in /etc/env.d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roy Marples (RETIRED) <uberlord> |
Component: | [OLD] Core system | Assignee: | Gentoo eselect Team <eselect> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | stops env working on core files and opengl outputs errors now |
Description
Roy Marples (RETIRED)
![]() Created attachment 74239 [details, diff]
stops env working on core files and opengl outputs errors now
Ideally there should be a better way of testing binary files or not, but this
works for me.
Roy: I used a slightly different approach than yours. Using "file -i" and grepping for text plain should do the work. Further, if a files doesn't contain any vars, we'll just not process it. In SVN already, fix will ship with next release (hopefully eselect-1.0). In 1.0. |