[Fusionforge-commits] r15330 - in branches/Branch_5_1: . src/plugins/scmsvn/common

Roland Mas lolando at fusionforge.org
Wed Apr 11 14:01:46 CEST 2012


Author: lolando
Date: 2012-04-11 14:01:46 +0200 (Wed, 11 Apr 2012)
New Revision: 15330

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php
Log:
Handle whitespace in subdirectories of repositories (patch from Christophe Guilloux).


Modified: branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php	2012-04-10 17:56:48 UTC (rev 15329)
+++ branches/Branch_5_1/src/plugins/scmsvn/common/SVNPlugin.class.php	2012-04-11 12:01:46 UTC (rev 15330)
@@ -257,7 +257,7 @@
 
 		if (forge_get_config('use_ssh', 'scmsvn')) {
 			$unix_group = 'scm_' . $project->getUnixName() ;
-			system ("find $repo -type d | xargs chmod g+s") ;
+			system ("find $repo -type d | xargs -I{} chmod g+s {}") ;
 			system ("chgrp -R $unix_group $repo") ;
 			if ($project->enableAnonSCM()) {
 				system ("chmod -R g+wX,o+rX-w $repo") ;




More information about the Fusionforge-commits mailing list