This is mainly a reminder for myself. I recently discovered that automake --copy --add-missing would copy in lots of files with my prefix' /bin/sh as shebang. This is obviously not right. While fixing shebangs is cool for the health of a Prefix, it makes autotools totally useless for a development system. Any extra ideas/thoughts are welcome here. I thought that perhaps we should only fix tools that reside in path, like we already do check now to see if we have to die or just warn. Question is if this is enough. Alternative is to exclude e.g. usr/share/* from shebanging, which makes sense, but should be covered by the path check too...
haubi, if you agree, I'm going to implement and release this change (only autofix what's in $PATH).
I'm in favor of excluding anything not in $PATH. But, who's PATH is is exactly - user's or portage's ?
Portage's of course.
Can't think of any problem here, so fine with me too, thanks!
I committed this to 2.2.00.15842-r1