summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M Wozniak <woz@anl.gov>2019-12-02 12:13:05 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-02 13:13:05 -0600
commit543f37ea51ce99ee6a2b33fc2d10dab8fdb7203f (patch)
tree37da6ba1000174361dadc3a70ff4f72d12148126
parent71eaffa46b1a64249b410f5222b537b37ff4c032 (diff)
downloadspack-543f37ea51ce99ee6a2b33fc2d10dab8fdb7203f.tar.gz
spack-543f37ea51ce99ee6a2b33fc2d10dab8fdb7203f.tar.bz2
spack-543f37ea51ce99ee6a2b33fc2d10dab8fdb7203f.tar.xz
spack-543f37ea51ce99ee6a2b33fc2d10dab8fdb7203f.zip
eq-r: Fix use of Executable.__call__() (#13952)
-rw-r--r--var/spack/repos/builtin/packages/eq-r/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/eq-r/package.py b/var/spack/repos/builtin/packages/eq-r/package.py
index 76c10c82c5..720e2bed8f 100644
--- a/var/spack/repos/builtin/packages/eq-r/package.py
+++ b/var/spack/repos/builtin/packages/eq-r/package.py
@@ -46,7 +46,7 @@ class EqR(AutotoolsPackage):
if not os.path.exists(r_location):
rscript = which('Rscript')
if rscript is not None:
- r_location = rscript('-e', 'cat(R.home())')
+ r_location = rscript('-e', 'cat(R.home())', output=str)
else:
msg = 'couldn\'t locate Rscript on your PATH'
raise RuntimeError(msg)