mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
Make tar less verbose
This commit is contained in:
@@ -12,7 +12,7 @@ from pathlib import Path
|
||||
|
||||
|
||||
def make_tarfile(output_filename, source_dir):
|
||||
cmd = ["tar", r"--transform=s/\.\///", "-C", str(source_dir), "-cvf", str(output_filename), "."]
|
||||
cmd = ["tar", r"--transform=s/\.\///", "-C", str(source_dir), "-cf", str(output_filename), "."]
|
||||
print('Command: ', ' '.join(cmd))
|
||||
r = subprocess.check_output(cmd).decode()
|
||||
print(textwrap.indent(r, '> '))
|
||||
|
||||
Reference in New Issue
Block a user