Created
November 29, 2011 20:06
-
-
Save bitaxis/1406229 to your computer and use it in GitHub Desktop.
Update vim/bundles (per github.com/tpope/vim-pathogen)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import os.path | |
for item in os.listdir('.'): | |
if not os.path.isdir(item): continue | |
os.chdir(item) | |
try: | |
print 'Updating "%s"...' % item | |
os.system('git pull') | |
finally: | |
os.chdir('..') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment