Skip to content

Commit

Permalink
python 3.5 compat again
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Sep 23, 2019
1 parent e63e079 commit 8137dab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gen-dist.py
Expand Up @@ -71,9 +71,9 @@ def main(args):
if args.prefix is not None:
os.chdir(str(install_dir.parent))
install_dir.rename(install_dir.parent / args.prefix)
archive = shutil.make_archive(args.output, args.format, '.', str(args.prefix))
archive = shutil.make_archive(str(args.output), args.format, '.', str(args.prefix))
else:
archive = shutil.make_archive(args.output, args.format, str(install_dir))
archive = shutil.make_archive(str(args.output), args.format, str(install_dir))

archive = Path(archive)
archive.rename(args.output)
Expand Down

0 comments on commit 8137dab

Please sign in to comment.