From: Zac Medico Date: Tue, 6 May 2008 20:26:05 +0000 (-0000) Subject: In install_mask(), discard stderr messages from the 'find' command X-Git-Tag: v2.2_pre7~73 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=56f615dbdb1dbd3e2b69dfa193ed77beecb90615;p=portage.git In install_mask(), discard stderr messages from the 'find' command since some tokens from INSTALL_MASK can trigger lots of warnings and errors that are irrelevant for our purposes. svn path=/main/trunk/; revision=10220 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 59fa51e70..58507893c 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -414,7 +414,7 @@ install_mask() { # we also need to handle globs (*.a, *.h, etc) find "${root}" \( -path "${no_inst}" -or -name "${no_inst}" \) \ - -exec rm -fR {} \; >/dev/null + -exec rm -fR {} \; >/dev/null 2>&1 done # set everything back the way we found it set +o noglob