Skip to content

Commit

Permalink
fix handling of :branch option of gem.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
masahino committed Mar 7, 2013
1 parent 2e95f63 commit f210480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/mruby_build_gem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module MRuby
return gemdir if File.exists?(gemdir)

options = [params[:options]] || []
options << "--branch \"#{params[:branch]}\"" if params[:tag]
options << "--branch \"#{params[:branch]}\"" if params[:branch]

FileUtils.mkdir_p "build/mrbgems"
git.run_clone gemdir, url, options
Expand Down

0 comments on commit f210480

Please sign in to comment.