Browse Source

Fix error that prevents downloader from creating directories.

pull/9/head
Matt Corallo 11 years ago
parent
commit
a58e517aac
  1. 2
      share/gitian-updater

2
share/gitian-updater

@ -353,7 +353,7 @@ if quiet == 0: @@ -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