From a59257dfb69c6f2f666df5dc40bdb0625c0a994e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 12 May 2012 12:54:46 +0000 Subject: [PATCH] Fixed #set_scm in reposman (#10837). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9675 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- extra/svn/reposman.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb index 85977e815..46b9adc19 100755 --- a/extra/svn/reposman.rb +++ b/extra/svn/reposman.rb @@ -59,7 +59,7 @@ def read_key_from_file(filename) end def set_scm(scm) - $scm = v.capitalize + $scm = scm.capitalize unless SUPPORTED_SCM.include?($scm) log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true) end