There seems to be a problem in the /etc/env.d/* files parser used by "eselect env update": Whenever the string "all:" is present in such an env-var snippet, even if only as part of a comment, the following error message is displayed: "Skipping non-text file <name of snippet>" For example, cat > /etc/env.d/99test <<EOF # all: EOF eselect env update yields Skipping non-text file /etc/env.d/99test. Regenerating /etc/ld.so.cache...
Please, don't restrict bugs without any reason.
Created attachment 88718 [details, diff] eselect-allow-file-makefile.patch This works around this, but it will now accept makefiles as env.d files. The cause of this problem seems to be that file detects any file with the string "all:" in it as a makefile. (at least it reports to be skipping, though I don't see the code that actually skips the file). This patch makes it so eselect will use files that are detected as a makefile.
Patrick: I used a slightly different patch to solve this problem. What i didn't like in your patch was, that the whitelisting system wasn't easily extendable. Fix for this is InSVN.
Fixed as of eselect-1.0.3