summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2020-09-21 11:19:06 -0600
committerGitHub <noreply@github.com>2020-09-21 12:19:06 -0500
commit165dbf719db36bcc0dc2131b83b15a4cc9555ecf (patch)
treee6ce358d02383465729d69a7c11c3e22d0dca6ba /var
parent5565b6494d84a669ede53b08a25d69290fc2cc65 (diff)
downloadspack-165dbf719db36bcc0dc2131b83b15a4cc9555ecf.tar.gz
spack-165dbf719db36bcc0dc2131b83b15a4cc9555ecf.tar.bz2
spack-165dbf719db36bcc0dc2131b83b15a4cc9555ecf.tar.xz
spack-165dbf719db36bcc0dc2131b83b15a4cc9555ecf.zip
fix spack-build usages (#18846)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/branson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hacckernels/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kripke/package.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/branson/package.py b/var/spack/repos/builtin/packages/branson/package.py
index ffa9df0a84..a5489668c3 100644
--- a/var/spack/repos/builtin/packages/branson/package.py
+++ b/var/spack/repos/builtin/packages/branson/package.py
@@ -42,6 +42,6 @@ class Branson(CMakePackage):
def install(self, spec, prefix):
mkdir(prefix.bin)
mkdir(prefix.doc)
- install('../spack-build/BRANSON', prefix.bin)
+ install(join_path(self.build_directory, 'BRANSON'), prefix.bin)
install('LICENSE.md', prefix.doc)
install('README.md', prefix.doc)
diff --git a/var/spack/repos/builtin/packages/hacckernels/package.py b/var/spack/repos/builtin/packages/hacckernels/package.py
index b15e2ac9cb..9322819802 100644
--- a/var/spack/repos/builtin/packages/hacckernels/package.py
+++ b/var/spack/repos/builtin/packages/hacckernels/package.py
@@ -23,4 +23,4 @@ class Hacckernels(CMakePackage):
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('README', prefix)
- install('../spack-build/HACCKernels', prefix.bin)
+ install(join_path(self.build_directory, 'HACCKernels'), prefix.bin)
diff --git a/var/spack/repos/builtin/packages/kripke/package.py b/var/spack/repos/builtin/packages/kripke/package.py
index cd605fda3c..86a347c66a 100644
--- a/var/spack/repos/builtin/packages/kripke/package.py
+++ b/var/spack/repos/builtin/packages/kripke/package.py
@@ -42,4 +42,4 @@ class Kripke(CMakePackage):
# Kripke does not provide install target, so we have to copy
# things into place.
mkdirp(prefix.bin)
- install('../spack-build/bin/kripke.exe', prefix.bin)
+ install(join_path(self.build_directory, 'bin/kripke.exe'), prefix.bin)