projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d1cbf
)
Use find -path instead of -name for compatibility with both gnu and bsd userlands...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 12 Mar 2006 13:30:12 +0000
(13:30 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 12 Mar 2006 13:30:12 +0000
(13:30 -0000)
svn path=/main/trunk/; revision=2863
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index f291e036b3a99e96ec6d4fe5b0f64de2c2964fb7..8535a967987ae3bec2670e7f54e72794cfae8813 100644
(file)
--- 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