diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-06 20:26:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-06 20:26:05 +0000 |
commit | 56f615dbdb1dbd3e2b69dfa193ed77beecb90615 (patch) | |
tree | a13afce305222b350e3ad014f814777ca885a38c | |
parent | 04e49b94eb44c62b966e4ed78a9ebbda6b09562d (diff) | |
download | portage-56f615dbdb1dbd3e2b69dfa193ed77beecb90615.tar.gz portage-56f615dbdb1dbd3e2b69dfa193ed77beecb90615.tar.bz2 portage-56f615dbdb1dbd3e2b69dfa193ed77beecb90615.zip |
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
-rwxr-xr-x | bin/misc-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |