[paludis-commits] r4610 - in trunk: . paludis/repositories/e/ebuild/utils

zlin at svn.pioto.org zlin at svn.pioto.org
Thu Apr 24 10:16:34 UTC 2008


Author: zlin
Date: 2008-04-24 10:16:33 +0000 (Thu, 24 Apr 2008)
New Revision: 4610

Modified:
   trunk/ChangeLog
   trunk/paludis/repositories/e/ebuild/utils/unpack
Log:
Use chmod -fR on top-level targets rather than calling chmod for every target recursively.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-04-23 22:31:23 UTC (rev 4609)
+++ trunk/ChangeLog	2008-04-24 10:16:33 UTC (rev 4610)
@@ -5,6 +5,12 @@
 only listed in SVN log. For a summary of what has changed between releases,
 see the NEWS file. This file is occasionally pruned to ChangeLog.old.bz2.
 
+2008-04-23 Bo Ørsted Andresen
+
+	* paludis/repositories/e/ebuild/utils/unpack: Use chmod -fR on
+	top-level targets rather than calling chmod for every target
+	recursively.
+
 2008-04-22 Ciaran McCreesh
 
 	* NEWS, configure.ac: Preparation for 0.26.0_pre4.

Modified: trunk/paludis/repositories/e/ebuild/utils/unpack
===================================================================
--- trunk/paludis/repositories/e/ebuild/utils/unpack	2008-04-23 22:31:23 UTC (rev 4609)
+++ trunk/paludis/repositories/e/ebuild/utils/unpack	2008-04-24 10:16:33 UTC (rev 4610)
@@ -149,6 +149,6 @@
 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
 



More information about the paludis-commits mailing list