Make the cloning direcotory explicit on stdout.

This commit is contained in:
Holger Rapp 2014-03-06 06:47:29 +01:00
parent 96557f3972
commit e6d335aa40

View File

@ -108,11 +108,11 @@ def plugin_cache_dir():
def clone_plugin(plugin):
"""Clone the given plugin into our plugin directory."""
dirname = os.path.join(plugin_cache_dir(), os.path.basename(plugin))
print("Cloning %s -> %s" % (plugin, dirname))
if os.path.exists(dirname):
print("Skip cloning of %s. Already there." % plugin)
return
create_directory(dirname)
print("Cloning %s." % plugin)
subprocess.call(["git", "clone", "--recursive",
"--depth", "1", "https://github.com/%s" % plugin, dirname])