Permalink
Browse files

better rake update behaviour

  • Loading branch information...
1 parent add7807 commit b3644cae1c0c224be1bc756bd9d082e606d26444 christfo committed Mar 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -23,8 +23,8 @@ task :update do
bundle = File.join(path, entry)
if File.exist?(File.join(bundle, ".git"))
print "Updating #{entry}: "
- system("cd #{bundle} && git pull origin master")
- system("cd #{bundle} && git submodule update") unless `cd #{bundle} && git submodule`.empty?
+ system("cd #{bundle} && git checkout master && git pull ")
+ # system("cd #{bundle} && git submodule update") unless `cd #{bundle} && git submodule`.empty?
end unless entry =~ /\.+/
end
end

0 comments on commit b3644ca

Please sign in to comment.