Permalink
Browse files

update submodules (take 2)

  • Loading branch information...
Ryan Scott Lewis
Ryan Scott Lewis committed Dec 24, 2012
1 parent 5922fd6 commit 568b39909bef453a5f771323ec2397879d18c53e
Showing with 5 additions and 6 deletions.
  1. +5 −6 lib/rake/lua_mruby_tasks.rb
@@ -71,12 +71,11 @@ def run(command)
def init_git
unless root.join('.git').exist?
- run "cd #{root}"
- run "git init"
- run "git remote add origin https://github.com/RyanScottLewis/lua-mruby.git"
- run "git pull origin master"
- run "git submodule update --init lib/mruby/"
- run "git submodule update --init lib/lua/"
+ run "cd #{root} && git init"
+ run "cd #{root} && git remote add origin https://github.com/RyanScottLewis/lua-mruby.git"
+ run "cd #{root} && git pull origin master"
+ run "cd #{root} && git submodule update --init lib/mruby/"
+ run "cd #{root} && git submodule update --init lib/lua/"
end
end

0 comments on commit 568b399

Please sign in to comment.