summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-05 18:10:50 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-05 18:10:50 +0000
commit6a563df5b06f0d5250bca8000f93ef34bd89f008 (patch)
tree14800a167907747a1a7aff72325606255d9fa1cc /bin
parentb4c9251aab5100e919bd014487eaddbd8d2bd66f (diff)
downloadportage-6a563df5b06f0d5250bca8000f93ef34bd89f008.tar.gz
portage-6a563df5b06f0d5250bca8000f93ef34bd89f008.tar.bz2
portage-6a563df5b06f0d5250bca8000f93ef34bd89f008.zip
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
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() {