From 0e594035086d6517d50274dfeb12213575278fff Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Wed, 11 Apr 2012 12:06:58 +0000 Subject: [PATCH] Merged from 5.1: handle whitespace in directories within SVN repositories --- src/plugins/scmsvn/common/SVNPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/scmsvn/common/SVNPlugin.class.php b/src/plugins/scmsvn/common/SVNPlugin.class.php index 7f1a2d6ac8..6d52f0539c 100644 --- a/src/plugins/scmsvn/common/SVNPlugin.class.php +++ b/src/plugins/scmsvn/common/SVNPlugin.class.php @@ -259,7 +259,7 @@ class SVNPlugin extends SCMPlugin { 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 {}"); if (forge_get_config('use_dav', 'scmsvn')) { $unix_user = forge_get_config('apache_user'); system("chown -R $unix_user:$unix_group $repo"); -- 2.30.2