From 4c2440dcd54008518522dd2ba9f6593a85ebd6fd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Mar 2006 13:30:12 +0000 Subject: [PATCH] Use find -path instead of -name for compatibility with both gnu and bsd userlands. See bug #125919. svn path=/main/trunk/; revision=2863 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2