Fix root submodules task and for older versions of git

This commit is contained in:
Tom Robinson committed 2009-05-17 15:18:48 -07:00
1 parent bd3895e6c1
commit 7ea048f5bd
2 files changed
+2 -2

No files matched your search

+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