summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-04-20 19:03:42 -0500
committerGitHub <noreply@github.com>2021-04-20 19:03:42 -0500
commit09e80604f509108391aa9a595a6201c27c6825cf (patch)
tree1c509b98d128fc3a554c7af962b755ff70b63533 /lib
parentfd9918ab6f3d57fa75b92498a593804c85706b22 (diff)
downloadspack-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.py2
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
)