[evolvis-commits] r18338: upstream pending merges:↵ Roland Mas 2012-04-11 Handle whitespace in subdirectories of repositories (patch from Christophe Gui...
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Apr 12 10:42:26 CEST 2012
Author: mirabilos
Date: 2012-04-12 10:42:25 +0200 (Thu, 12 Apr 2012)
New Revision: 18338
Modified:
trunk/gforge_base/evolvisforge-5.1/src/plugins/scmsvn/common/SVNPlugin.class.php
Log:
upstream pending merges:
Roland Mas 2012-04-11 Handle whitespace in subdirectories of repositories (patch from Christophe Gui...
… although I personally think that people using whitespace in
pathnames deserve what they get…
Modified: trunk/gforge_base/evolvisforge-5.1/src/plugins/scmsvn/common/SVNPlugin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/plugins/scmsvn/common/SVNPlugin.class.php 2012-04-12 08:42:21 UTC (rev 18337)
+++ trunk/gforge_base/evolvisforge-5.1/src/plugins/scmsvn/common/SVNPlugin.class.php 2012-04-12 08:42:25 UTC (rev 18338)
@@ -252,7 +252,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+rwX,o+rX-w $repo") ;
More information about the evolvis-commits
mailing list