summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-06 20:26:47 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-06 20:26:47 +0000
commitbb3ebc39c1cf05894a05f7e072fc59a8dfb3247e (patch)
tree5bf4cd71d2c18b39350380959b0421f17908e811
parent33091dd07aa8c4c2c2f19b3b3ab852ed25fdf7d9 (diff)
downloadportage-bb3ebc39c1cf05894a05f7e072fc59a8dfb3247e.tar.gz
portage-bb3ebc39c1cf05894a05f7e072fc59a8dfb3247e.tar.bz2
portage-bb3ebc39c1cf05894a05f7e072fc59a8dfb3247e.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. (trunk r10220) svn path=/main/branches/2.1.2/; revision=10221
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index ae27268cf..ed7290d5f 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -378,7 +378,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