diff --git a/lib/tasks/plugin.rake b/lib/tasks/plugin.rake index a093bc86ec5..4e6ca17b82d 100644 --- a/lib/tasks/plugin.rake +++ b/lib/tasks/plugin.rake @@ -31,8 +31,8 @@ task 'plugin:install_all_official' do if ENV['GIT_WRITE'] STDERR.puts "Allowing write to all repos!" - repo.gsub!("https://github.com/", "git@github.com:") - repo << ".git" + repo = repo.gsub("https://github.com/", "git@github.com:") + repo += ".git" end status = system("git clone #{repo} #{path}")