Skip to content

Commit 8b4da69

Browse files
author
Pavel Marek
committed
Fix api-checksum.txt file creation during build-binary-pkgs
1 parent dbda4a0 commit 8b4da69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.fastr/mx_fastr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ def build_binary_pkgs(args_in, **kwargs):
900900
sys.stdout = sys.__stdout__
901901
with open(os.path.join(pkgs_path, 'api-checksum.txt'), 'w') as f:
902902
checksum = string_io.getvalue().splitlines(keepends=False)[-1]
903-
print(checksum, f)
903+
f.write(checksum)
904904
# creates the tarball
905905
result_tarball = os.path.join(dest_dir, pkgs_name + '.tar.gz')
906906
with tarfile.open(result_tarball, "w:gz") as tar:

0 commit comments

Comments
 (0)