From 488e1bab2ca384863517375f47be33dca4f170f8 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 11 Oct 2016 23:13:40 -0700 Subject: Make `insecure` option work with curl AND git. (#1786) --- bin/spack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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('-', '_')) -- cgit v1.2.3-60-g2f50