Skip to content

Commit 4a7a6b1

Browse files
authored
Merge pull request #106 from SaschaNaz/tarxf
Less verbose unpacking
2 parents 024e3bb + b995c0b commit 4a7a6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emsdk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def untargz(source_filename, dest_dir, unpack_even_if_exists=False):
338338
return True
339339
print("Unpacking '" + source_filename + "' to '" + dest_dir + "'")
340340
mkdir_p(dest_dir)
341-
run(['tar', '-xvf', sdk_path(source_filename), '--strip', '1'], cwd=dest_dir)
341+
run(['tar', '-xvf' if VERBOSE else '-xf', sdk_path(source_filename), '--strip', '1'], cwd=dest_dir)
342342
#tfile = tarfile.open(source_filename, 'r:gz')
343343
#tfile.extractall(dest_dir)
344344
return True

0 commit comments

Comments
 (0)