From: Jean-Philippe Lang Date: Sat, 12 May 2012 12:54:46 +0000 (+0000) Subject: Fixed #set_scm in reposman (#10837). X-Git-Tag: 2.0.0~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a59257dfb69c6f2f666df5dc40bdb0625c0a994e;p=redmine.git Fixed #set_scm in reposman (#10837). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9675 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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