From: Zac Medico Date: Sun, 12 Mar 2006 13:30:12 +0000 (-0000) Subject: Use find -path instead of -name for compatibility with both gnu and bsd userlands... X-Git-Tag: v2.1_pre7~109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c2440dcd54008518522dd2ba9f6593a85ebd6fd;p=portage.git Use find -path instead of -name for compatibility with both gnu and bsd userlands. See bug #125919. svn path=/main/trunk/; revision=2863 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index f291e036b..8535a9679 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -290,7 +290,7 @@ install_mask() { rm -Rf ${root}/${no_inst} >&/dev/null # we also need to handle globs (*.a, *.h, etc) - find "${root}" -name ${no_inst} -exec rm -fR {} \; >/dev/null + find "${root}" -path ${no_inst} -exec rm -fR {} \; >/dev/null done # set everything back the way we found it set +o noglob