summaryrefslogtreecommitdiffstats
path: root/extra/svn/reposman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'extra/svn/reposman.rb')
-rwxr-xr-xextra/svn/reposman.rb2
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)