Fix error that prevents downloader from creating directories.

git-archive
Matt Corallo 13 years ago
parent 10b40d5ad5
commit a58e517aac

@ -353,7 +353,7 @@ if quiet == 0:
for root, dirs, files in os.walk(unpack_dir, topdown = True):
rel = path.relpath(root, unpack_dir)
if not path.exists(path.join(dest_path, rel)):
os.mkdir(path.join(dest_path, rel))
os.mkdir(path.normpath(path.join(dest_path, rel)))
for f in files:
shutil.copy2(path.join(root, f), path.join(dest_path, rel, f))

Loading…
Cancel
Save