spack create: http -> https (#13547)

This commit is contained in:
Adam J. Stewart 2019-11-01 17:40:49 -05:00 committed by GitHub
parent 2e029fc2e5
commit a8228e1aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -454,7 +454,7 @@ def __call__(self, stage, url):
the contents of its archive or the URL it was downloaded from.""" the contents of its archive or the URL it was downloaded from."""
# Most octave extensions are hosted on Octave-Forge: # Most octave extensions are hosted on Octave-Forge:
# http://octave.sourceforge.net/index.html # https://octave.sourceforge.net/index.html
# They all have the same base URL. # They all have the same base URL.
if url is not None and 'downloads.sourceforge.net/octave/' in url: if url is not None and 'downloads.sourceforge.net/octave/' in url:
self.build_system = 'octave' self.build_system = 'octave'
@ -567,7 +567,7 @@ def get_url(args):
""" """
# Default URL # Default URL
url = 'http://www.example.com/example-1.2.3.tar.gz' url = 'https://www.example.com/example-1.2.3.tar.gz'
if args.url: if args.url:
# Use a user-supplied URL if one is present # Use a user-supplied URL if one is present