summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-03 12:27:21 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-03 12:27:21 +0000
commit18d21a30feb0b7e2b2b9e79465695c66601465d8 (patch)
treee73a2d4c2d46e4548ce37d22b2b9606188b5ac02
parentIn order to correctly handl the case of target caches that don't have complet... (diff)
downloadportage-18d21a30feb0b7e2b2b9e79465695c66601465d8.tar.gz
portage-18d21a30feb0b7e2b2b9e79465695c66601465d8.tar.bz2
portage-18d21a30feb0b7e2b2b9e79465695c66601465d8.zip
For bug #165034, make sure that symlinks are excluded from chmod calls. (trunk r5876:5879)
svn path=/main/branches/2.1.2/; revision=5882
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index aa3c1281f..d943a64a1 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -456,7 +456,7 @@ unpack() {
done
# Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE
# should be preserved.
- find . -mindepth 1 -print0 | ${XARGS} -0 chmod -f a+rX,u+w,g-w,o-w
+ find . -mindepth 1 ! -type l -print0 | ${XARGS} -0 chmod -f a+rX,u+w,g-w,o-w
}
strip_duplicate_slashes() {