fixed checkout for shell commands

This commit is contained in:
Ken Conley 2010-02-19 02:37:09 +00:00
parent 4e0dde65ca
commit ce99b034b2
1 changed files with 3 additions and 3 deletions

View File

@ -45,15 +45,15 @@ def checkout_repos(repos):
if fresh_install:
cmd = 'cd %s && git pull'%key
else:
cmd = ['git', 'clone', url, key]
cmd = 'git clone %s %s'%(url, key)
elif url.startswith('bzr:'):
url = url[4:]
if fresh_install:
cmd = ['bzr', 'checkout', url, key]
cmd = 'bzr checkout %s %s'%(url, key)
else:
cmd = "cd %s && bzr up"%key
else:
cmd = ['svn', 'co', url, key]
cmd = 'svn co %s %s'%(url, key)
if cmd:
print 'Checking out %s to %s...'%(url, key)