aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2008-04-24 10:16:33 +0000
committerAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2008-04-24 10:16:33 +0000
commit7020f103c0a7ecc5c56fa41205bec11497321149 (patch)
treecf632629cbe92295d4b1d08ebe7b84066e3ff3e8
parent7156dd039308cea69218e2b75e332141cca951ff (diff)
downloadpaludis-7020f103c0a7ecc5c56fa41205bec11497321149.tar.gz
paludis-7020f103c0a7ecc5c56fa41205bec11497321149.tar.xz
Use chmod -fR on top-level targets rather than calling chmod for every target recursively.
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/unpack2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/utils/unpack b/paludis/repositories/e/ebuild/utils/unpack
index 6796538..b682710 100755
--- a/paludis/repositories/e/ebuild/utils/unpack
+++ b/paludis/repositories/e/ebuild/utils/unpack
@@ -149,6 +149,6 @@ for x in "$@" ; do
done
if [[ -n "${PALUDIS_UNPACK_FIX_PERMISSIONS}" ]] ; then
- find ${UNPACKTODIR} -mindepth 1 ! -type l -print0 | xargs -0 chmod a+rX,u+w,go-w
+ find ${UNPACKTODIR} -mindepth 1 -maxdepth 1 ! -type l -print0 | xargs -0 -r chmod -fR a+rX,u+w,go-w
fi