summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-05 18:11:14 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-05 18:11:14 +0000
commit34e66d4f59824dcdc5d8bdb003af23ccc817983d (patch)
tree61705d8465e3a1fa6f955ad5b91e899224f30c4c /bin/ebuild.sh
parent183c9d8ba7a559a8acd20327b91d68f0a49cdaa6 (diff)
downloadportage-34e66d4f59824dcdc5d8bdb003af23ccc817983d.tar.gz
portage-34e66d4f59824dcdc5d8bdb003af23ccc817983d.tar.bz2
portage-34e66d4f59824dcdc5d8bdb003af23ccc817983d.zip
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
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
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() {