diff options
author | psakievich <psakiev@sandia.gov> | 2022-10-27 09:33:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 17:33:51 +0200 |
commit | b9bee70a97075409d8c5a014c4f55d1b086c9b72 (patch) | |
tree | cccb99798e0df20f6e025b1ac4ed7becf8423e02 | |
parent | 5a939d9c94e5723c310f6680edc038825c0b4f99 (diff) | |
download | spack-b9bee70a97075409d8c5a014c4f55d1b086c9b72.tar.gz spack-b9bee70a97075409d8c5a014c4f55d1b086c9b72.tar.bz2 spack-b9bee70a97075409d8c5a014c4f55d1b086c9b72.tar.xz spack-b9bee70a97075409d8c5a014c4f55d1b086c9b72.zip |
curl: stop auto generating file named `str` (#33532)
Calling `determine_variants` from the `curl` package autogenerates an empty file every time it is called.
-rw-r--r-- | var/spack/repos/builtin/packages/curl/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py index 8923423efb..26be294245 100644 --- a/var/spack/repos/builtin/packages/curl/package.py +++ b/var/spack/repos/builtin/packages/curl/package.py @@ -129,7 +129,7 @@ class Curl(AutotoolsPackage): for exe in exes: variants = "" curl = Executable(exe) - output = curl("--version", output=str, error="str") + output = curl("--version", output=str, error=str) if "nghttp2" in output: variants += "+nghttp2" protocols_match = re.search(r"Protocols: (.*)\n", output) |