diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-12 13:30:12 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-12 13:30:12 +0000 |
commit | 4c2440dcd54008518522dd2ba9f6593a85ebd6fd (patch) | |
tree | b680593fb4526edd52f0a5549021ce6d11613938 | |
parent | 22d1cbf2757650dd40e0303c706946474abd98aa (diff) | |
download | portage-4c2440dcd54008518522dd2ba9f6593a85ebd6fd.tar.gz portage-4c2440dcd54008518522dd2ba9f6593a85ebd6fd.tar.bz2 portage-4c2440dcd54008518522dd2ba9f6593a85ebd6fd.zip |
Use find -path instead of -name for compatibility with both gnu and bsd userlands. See bug #125919.
svn path=/main/trunk/; revision=2863
-rw-r--r-- | 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 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 |