summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-03-03 13:25:25 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-03-03 13:25:25 +0900
commit933f8013e0d2ef1b228ca8607e05c85b15b09d58 (patch)
treea0d0b13c207867036d4a9474c23494b5ef1b9595 /tasks
parent9a92b40aaf0fc7b94623f5fca3692167b4048643 (diff)
parent55a43c78ffb6a5e42177e98d72f91b3c53964cdc (diff)
downloadmruby-933f8013e0d2ef1b228ca8607e05c85b15b09d58.tar.gz
mruby-933f8013e0d2ef1b228ca8607e05c85b15b09d58.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mruby_build_gem.rake6
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/mruby_build_gem.rake b/tasks/mruby_build_gem.rake
index c9bf794e3..5e4566f8d 100644
--- a/tasks/mruby_build_gem.rake
+++ b/tasks/mruby_build_gem.rake
@@ -43,7 +43,11 @@ module MRuby
if params[:github]
params[:git] = "https://github.com/#{params[:github]}.git"
elsif params[:bitbucket]
- params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
+ if params[:method] == "ssh"
+ params[:git] = "[email protected]:#{params[:bitbucket]}.git"
+ else
+ params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
+ end
end
if params[:core]