summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2016-07-01 22:13:40 -0500
committerGlenn Johnson <glenn-johnson@uiowa.edu>2016-07-01 22:13:40 -0500
commit729f23b43282d971365d66402fe0df67c4bd37a2 (patch)
treee1f97bfc08356220284f8fb8eb9668e681449a2a /var
parente837be1af9e546cd6ec44d4b82103755bc2c77a8 (diff)
downloadspack-729f23b43282d971365d66402fe0df67c4bd37a2.tar.gz
spack-729f23b43282d971365d66402fe0df67c4bd37a2.tar.bz2
spack-729f23b43282d971365d66402fe0df67c4bd37a2.tar.xz
spack-729f23b43282d971365d66402fe0df67c4bd37a2.zip
Use Executable to set script
Use `Executable("./install.sh")` to set `install_script`. This allows it to work when the current directory is not on the PATH.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/intel/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel/package.py b/var/spack/repos/builtin/packages/intel/package.py
index ec3192380a..56d9fabddf 100644
--- a/var/spack/repos/builtin/packages/intel/package.py
+++ b/var/spack/repos/builtin/packages/intel/package.py
@@ -73,7 +73,7 @@ CONTINUE_WITH_OPTIONAL_ERROR=yes
COMPONENTS=%s
""" % (self.intel_prefix, self.global_license_file, self.intel_components))
- install_script = which("install.sh")
+ install_script = Executable("./install.sh")
install_script('--silent', silent_config_filename)