Skip to content

Commit 1df6557

Browse files
committed
[dorelease] Stop 7z from prompting
Assume yes to all prompts.
1 parent 92b764b commit 1df6557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dorelease

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,14 +453,14 @@ def winbundle(binfile, git_pkg, annex_pkg):
453453
os.makedirs(gitdir)
454454

455455
# extract git portable and annex into git dir
456-
cmd = ["7z", "x", f"-o{gitdir}", git_pkg]
456+
cmd = ["7z", "x", "-y", f"-o{gitdir}", git_pkg]
457457
print(f"Running {' '.join(cmd)}")
458458
if run(cmd, stdout=DEVNULL) > 0:
459459
print(f"Failed to extract git archive {git_pkg} to {gitdir}",
460460
file=sys.stderr)
461461
return None
462462

463-
cmd = ["7z", "x", f"-o{gitdir}", annex_pkg]
463+
cmd = ["7z", "x", "-y", f"-o{gitdir}", annex_pkg]
464464
print(f"Running {' '.join(cmd)}")
465465
if run(cmd, stdout=DEVNULL) > 0:
466466
print(f"Failed to extract git archive {annex_pkg} to {gitdir}",

0 commit comments

Comments
 (0)