Fix root submodules task and for older versions of git

This commit is contained in:
Tom Robinson
2009-05-17 15:18:48 -07:00
parent bd3895e6c1
commit 7ea048f5bd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ end
task :update_submodules do
if executable_exists? "git"
system %{cd .. && git submodule update --init}
system %{cd .. && git submodule init && git submodule update}
else
puts "Git not installed"
rake abort
+1 -1
View File
@@ -102,7 +102,7 @@ end
task :submodules do
if executable_exists? "git"
system %{cd .. && git submodule update --init}
system %{git submodule init && git submodule update}
else
puts "Git not installed"
rake abort