From 18d21a30feb0b7e2b2b9e79465695c66601465d8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 3 Feb 2007 12:27:21 +0000 Subject: [PATCH] For bug #165034, make sure that symlinks are excluded from chmod calls. (trunk r5876:5879) svn path=/main/branches/2.1.2/; revision=5882 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.26.2