From: fuzzyray Date: Mon, 21 Jul 2008 16:53:41 +0000 (-0000) Subject: Fix filtering of masked paths from SEARCH_DIRS variable. (Bug 232270) X-Git-Tag: gentoolkit-0.2.4.3~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97b5b67769460c19f5eedfad48a0bbbfacdccddf;p=gentoolkit.git Fix filtering of masked paths from SEARCH_DIRS variable. (Bug 232270) svn path=/; revision=498 --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index daf5b5c..e0caae9 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,7 @@ +2008-07-21: Paul Varner + * revdep-rebuild: Fix filtering of masked paths from SEARCH_DIRS + variable. (Bug 232270) + 2008-07-18: Paul Varner * equery: Remove prefixed '+/-' signs from IUSE for equery uses command. (Bug 232019) diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild index ba6bf28..1694e8c 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild +++ b/trunk/src/revdep-rebuild/revdep-rebuild @@ -1008,6 +1008,7 @@ setup_search_paths_and_masks() { [[ ${sdir} == ${mdir}/* ]] && skip_me=1 && break done [[ -n ${skip_me} ]] || filter_SEARCH_DIRS+=" ${sdir}" + unset skip_me done SEARCH_DIRS=$(clean_var <<< "${filter_SEARCH_DIRS}") [[ $SEARCH_DIRS ]] || die 1 "No search defined -- this is a bug."