From 34e66d4f59824dcdc5d8bdb003af23ccc817983d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 5 May 2007 18:11:14 +0000 Subject: For bug #177211, use chmod -R on the children of the current directory in order to reduce the size of the argument list. (trunk r6479:6480 svn path=/main/branches/2.1.2/; revision=6481 --- bin/ebuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 92f75455c..bacb21b28 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -457,7 +457,8 @@ unpack() { done # Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE # should be preserved. - find . -mindepth 1 ! -type l -print0 | ${XARGS} -0 chmod -f a+rX,u+w,g-w,o-w + find . -mindepth 1 -maxdepth 1 ! -type l -print0 | \ + ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w } strip_duplicate_slashes() { -- cgit v1.2.3-1-g7c22