summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-10-11 23:13:40 -0700
committerGitHub <noreply@github.com>2016-10-11 23:13:40 -0700
commit488e1bab2ca384863517375f47be33dca4f170f8 (patch)
tree8f02ee0dc9ccca7cbb2e59cf73e90cc5c9aae842 /bin
parenta6f85f51d061fd9e25e5af753136ad08da9830c5 (diff)
downloadspack-488e1bab2ca384863517375f47be33dca4f170f8.tar.gz
spack-488e1bab2ca384863517375f47be33dca4f170f8.tar.bz2
spack-488e1bab2ca384863517375f47be33dca4f170f8.tar.xz
spack-488e1bab2ca384863517375f47be33dca4f170f8.zip
Make `insecure` option work with curl AND git. (#1786)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack b/bin/spack
index dcc25c5c83..503ef068bf 100755
--- a/bin/spack
+++ b/bin/spack
@@ -161,7 +161,7 @@ def main():
# If the user asked for it, don't check ssl certs.
if args.insecure:
tty.warn("You asked for --insecure. Will NOT check SSL certificates.")
- spack.curl.add_default_arg('-k')
+ spack.insecure = True
# Try to load the particular command asked for and run it
command = spack.cmd.get_command(args.command.replace('-', '_'))