summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/url.py b/lib/spack/spack/url.py
index 174f7d0b3c..7a597073d6 100644
--- a/lib/spack/spack/url.py
+++ b/lib/spack/spack/url.py
@@ -71,7 +71,7 @@ def find_list_url(url):
url_types = [
# e.g. https://github.com/llnl/callpath/archive/v1.0.1.tar.gz
- (r'(.*github\.com/[^/]+/[^/]+)/archive/',
+ (r'(.*github\.com/[^/]+/[^/]+)',
lambda m: m.group(1) + '/releases')]
for pattern, fun in url_types: