Fix filtering of masked paths from SEARCH_DIRS variable. (Bug 232270)
authorfuzzyray <fuzzyray@gentoo.org>
Mon, 21 Jul 2008 16:53:41 +0000 (16:53 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Mon, 21 Jul 2008 16:53:41 +0000 (16:53 -0000)
svn path=/; revision=498

trunk/ChangeLog
trunk/src/revdep-rebuild/revdep-rebuild

index daf5b5cc9468b2abdea3c0145213e940e958d84a..e0caae9cbe537265732991b19f1c8df8097c2461 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-21: Paul Varner <fuzzyray@gentoo.org>
+       * revdep-rebuild: Fix filtering of masked paths from SEARCH_DIRS
+       variable. (Bug 232270)
+
 2008-07-18: Paul Varner <fuzzyray@gentoo.org>
        * equery: Remove prefixed '+/-' signs from IUSE for equery uses
        command. (Bug 232019)
index ba6bf2827ccc17d2135c7fcf4b8e79bd8da322fe..1694e8c590a8e6f1358ff3ef28ead0372e047d73 100755 (executable)
@@ -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."