python 3.5 compat again
This commit is contained in:
parent
e63e07913f
commit
8137daba9e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue