diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-29 07:14:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-29 07:14:52 +0000 |
commit | bd55d7f815a248eba58d99b39fdd868f4002db9a (patch) | |
tree | 265543c9d693fb8a5d4263a4ec33d3aff46c4dd6 | |
parent | 4402e7e23276449d9df84f71dbbfe5e3efcc332e (diff) | |
download | redmine-bd55d7f815a248eba58d99b39fdd868f4002db9a.tar.gz redmine-bd55d7f815a248eba58d99b39fdd868f4002db9a.zip |
Merged r5232 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@5578 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rwxr-xr-x | extra/svn/reposman.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb index c92e32c5d..36710ac77 100755 --- a/extra/svn/reposman.rb +++ b/extra/svn/reposman.rb @@ -205,7 +205,7 @@ end log("retrieved #{projects.size} projects", :level => 1) def set_owner_and_rights(project, repos_path, &block) - if RUBY_PLATFORM =~ /mswin/ + if mswin? yield if block_given? else uid, gid = Etc.getpwnam($svn_owner).uid, ($use_groupid ? Etc.getgrnam(project.identifier).gid : Etc.getgrnam($svn_group).gid) |