Fixed #set_scm in reposman (#10837).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-05-12 12:54:46 +00:00
parent 9382d856b4
commit a59257dfb6
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def read_key_from_file(filename)
end end
def set_scm(scm) def set_scm(scm)
$scm = v.capitalize $scm = scm.capitalize
unless SUPPORTED_SCM.include?($scm) unless SUPPORTED_SCM.include?($scm)
log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true) log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true)
end end