From: Zac Medico Date: Sat, 5 May 2007 18:10:50 +0000 (-0000) Subject: For bug #177211, use chmod -R on the children of the current directory in order to... X-Git-Tag: v2.2_pre1~1455 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a563df5b06f0d5250bca8000f93ef34bd89f008;p=portage.git For bug #177211, use chmod -R on the children of the current directory in order to reduce the size of the argument list. svn path=/main/trunk/; revision=6480 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 370445312..f4556da00 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -382,7 +382,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() {