When having INSTALL_MASK set to a directory (like /usr/share/info, as it's done by FEATURES=noinfo), latest portage complains about find options used incorrectly: find: warning: Unix filenames usually don't contain slashes (though pathnames do). That means that '-name /usr/share/info' will probably evaluate to false all the time on this system. You might find the '-wholename' test more useful, or perhaps '-samefile'. Alternatively, if you are using GNU grep, you could use 'find ... -print0 | grep -FzZ /usr/share/info'. As the warning tells, -wholename would probably do the right thing, but that's a GNU specific option; rather the -path option does the same thing and it's supported also by BSDish find. HTH, Diego
Created attachment 81970 [details, diff] use -path instead of -name for compatibility with BSDish find Will this work for everyone?
Thanks, this is in svn r2863 and released in 2.1_pre6-r1.