This commit is contained in:
parent
df079c91b5
commit
3aab2626ed
@ -387,7 +387,7 @@ class Build(loaih.RemoteBuild):
|
|||||||
|
|
||||||
def __create_checksum__(self, file):
|
def __create_checksum__(self, file):
|
||||||
"""Internal function to create checksum file."""
|
"""Internal function to create checksum file."""
|
||||||
checksum = subprocess.run(shlex.split(f"md5sum {file}"),
|
checksum = subprocess.run(f"md5sum {file}", shell=True,
|
||||||
capture_output=True, text=True, encoding='utf-8', check=True)
|
capture_output=True, text=True, encoding='utf-8', check=True)
|
||||||
if checksum.stdout:
|
if checksum.stdout:
|
||||||
with open(f"{file}.md5", 'w', encoding='utf-8') as csfile:
|
with open(f"{file}.md5", 'w', encoding='utf-8') as csfile:
|
||||||
|
Reference in New Issue
Block a user