diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-02-03 12:27:21 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-02-03 12:27:21 +0000 |
commit | 18d21a30feb0b7e2b2b9e79465695c66601465d8 (patch) | |
tree | e73a2d4c2d46e4548ce37d22b2b9606188b5ac02 /bin/ebuild.sh | |
parent | 1d2947b922b8566589f33683b020a5a6b9fba31f (diff) | |
download | portage-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
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 2 |
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() { |