Skip to content

Commit 7f8c057

Browse files
committed
Fix 7za.exe invocation on Windows
1 parent 424c590 commit 7f8c057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/buildactions/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function os.sha256_file(path)
9696
local windows = os.host() == "windows"
9797
local s, errc
9898
if windows then
99-
s, errc = os.outputof(string.format("utils\\7z\\7za.exe h -scrcSHA256 \"%s\"", path))
99+
s, errc = os.outputof(string.format("call \"utils\\7z\\7za.exe\" h -scrcSHA256 \"%s\"", path))
100100
else
101101
s, errc = os.outputof(string.format("sha256sum \"%s\" | awk '{ print $1 }'", path))
102102
end

0 commit comments

Comments
 (0)