diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2021-04-20 19:03:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 19:03:42 -0500 |
commit | 09e80604f509108391aa9a595a6201c27c6825cf (patch) | |
tree | 1c509b98d128fc3a554c7af962b755ff70b63533 /lib | |
parent | fd9918ab6f3d57fa75b92498a593804c85706b22 (diff) | |
download | spack-09e80604f509108391aa9a595a6201c27c6825cf.tar.gz spack-09e80604f509108391aa9a595a6201c27c6825cf.tar.bz2 spack-09e80604f509108391aa9a595a6201c27c6825cf.tar.xz spack-09e80604f509108391aa9a595a6201c27c6825cf.zip |
Catch rstudio based URL for `cran` attribute in create.py (#23072)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/create.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 6eaab4a07d..85fea9d98a 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -338,7 +338,7 @@ class RPackageTemplate(PackageTemplate): r_name = parse_name(url) cran = re.search( - r'(?:r-project)[^/]+/src' + '/([^/]+)' * 2, + r'(?:r-project|rstudio)[^/]+/src' + '/([^/]+)' * 2, url ) |