]> source.dussan.org Git - redmine.git/commitdiff
Merged r5232 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 29 Apr 2011 07:14:52 +0000 (07:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 29 Apr 2011 07:14:52 +0000 (07:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@5578 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/svn/reposman.rb

index c92e32c5daf00f9e36f43a0b1a60178eef5a0c3d..36710ac770209205f94149f7bd98f5aedbe32461 100755 (executable)
@@ -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)