summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2008-07-21 16:53:41 +0000
committerfuzzyray <fuzzyray@gentoo.org>2008-07-21 16:53:41 +0000
commit97b5b67769460c19f5eedfad48a0bbbfacdccddf (patch)
tree6ea99ca27d21f23c334f59b0372b6feb02a54fbd /trunk/src
parent5fc8a69e6e8ad0552988f759ded5f03147f437ee (diff)
downloadgentoolkit-97b5b67769460c19f5eedfad48a0bbbfacdccddf.tar.gz
Fix filtering of masked paths from SEARCH_DIRS variable. (Bug 232270)
svn path=/; revision=498
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/revdep-rebuild/revdep-rebuild1
1 files changed, 1 insertions, 0 deletions
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."