On Tuesday, April 22, 2014 11:16:31 AM Renshaw, Richard /c wrote:
> Jan,
> Without the trailing / the regex will match any directory starting with
> /lib, /lib64, /usr/lib, or /usr/lib64. Like the spurious /usr/libexec/
> file I was running into. Even if the trailing / isn't the correct fix,
> something needs to be changed to fix the regex.
libexec is for executables that should not be called directly. I think files in
that directory should be checked following the same rules as /(s)bin or
/usr/(s)bin. The library checks should apply to /lib(64), /usr/lib(64) and
possibly /usr/local/lib(64). I think in both cases it should be recursive,
just in case.