The following command should run with SEARCH_DIRS="/" SEARCH_DIRS_MASK="" and LD_LIBRARY_MASK="" env SEARCH_DIRS="/ -*" SEARCH_DIRS_MASK="-*" LD_LIBRARY_MASK="-*" ./revdep-rebuild-rewrite --pretend --verbose --ignore The actual results are: revdep-rebuild-rewrite environment: SEARCH_DIRS="/" SEARCH_DIRS_MASK="-* /usr/lib/openoffice" LD_LIBRARY_MASK="-*" PORTAGE_ROOT="/" EMERGE_OPTIONS="" ORDER_PKGS="1" FULL_LD_PATH="1"
Created attachment 131335 [details, diff] revdep-rebuild_fix-dashstar_r445.patch Patch against revision 445 in SVN. I had forgotten to check what happens when the -* is at the very beginning of the string. Hopefully this patch fixes that.
$ svn commit -m "Fix handling of '-*' in user alterable variables. (Bug #192979)" Sending revdep-rebuild/revdep-rebuild Transmitting file data . Committed revision 447.
Fixed in gentoolkit-0.2.4_rc1