summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-12 13:30:12 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-12 13:30:12 +0000
commit4c2440dcd54008518522dd2ba9f6593a85ebd6fd (patch)
treeb680593fb4526edd52f0a5549021ce6d11613938 /bin/misc-functions.sh
parentMake portage.unmerge return 0 on success in order to make `ebuild unmerge` ex... (diff)
downloadportage-multirepo-4c2440dcd54008518522dd2ba9f6593a85ebd6fd.tar.gz
portage-multirepo-4c2440dcd54008518522dd2ba9f6593a85ebd6fd.tar.bz2
portage-multirepo-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
Diffstat (limited to 'bin/misc-functions.sh')
-rw-r--r--bin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index f291e036..8535a967 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