+2008-08-26: Paul Varner <fuzzyray@gentoo.org>
+ * revdep-rebuild: Update fix for Bug 232270 to utilize better patch
+ from Ian Abbott.
+
2008-08-22: Paul Varner <fuzzyray@gentoo.org>
* gentoolkit: Fix find_packages and find_installed_packages to print
a warning instead of a traceback when an InvalidAtom exception occurs.
if [[ "$uid" == "root" ]]; then
local tmp_target="/var/cache/${APP_NAME}"
else
- local tmp_target=$(mktemp -d -t revdep-rebuild.XXXXXXXXXX)
+ local tmp_target="$(mktemp -d -t revdep-rebuild.XXXXXXXXXX)"
fi
# From here on all work is done inside the temporary directory
LD_LIBRARY_MASK=$(clean_var <<< "$LD_LIBRARY_MASK")
# Filter masked paths from SEARCH_DIRS
for sdir in ${SEARCH_DIRS} ; do
+ skip_me=
for mdir in ${SEARCH_DIRS_MASK}; do
[[ ${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."