curl: stop auto generating file named str
(#33532)
Calling `determine_variants` from the `curl` package autogenerates an empty file every time it is called.
This commit is contained in:
parent
5a939d9c94
commit
b9bee70a97
@ -129,7 +129,7 @@ def determine_variants(cls, exes, version):
|
|||||||
for exe in exes:
|
for exe in exes:
|
||||||
variants = ""
|
variants = ""
|
||||||
curl = Executable(exe)
|
curl = Executable(exe)
|
||||||
output = curl("--version", output=str, error="str")
|
output = curl("--version", output=str, error=str)
|
||||||
if "nghttp2" in output:
|
if "nghttp2" in output:
|
||||||
variants += "+nghttp2"
|
variants += "+nghttp2"
|
||||||
protocols_match = re.search(r"Protocols: (.*)\n", output)
|
protocols_match = re.search(r"Protocols: (.*)\n", output)
|
||||||
|
Loading…
Reference in New Issue
Block a user