summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/nekbone/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/nekbone/package.py b/var/spack/repos/builtin/packages/nekbone/package.py
index 7dbef6df0e..cad14fa177 100644
--- a/var/spack/repos/builtin/packages/nekbone/package.py
+++ b/var/spack/repos/builtin/packages/nekbone/package.py
@@ -62,7 +62,7 @@ class Nekbone(Package):
cc = spec['mpi'].mpicc
# Install Nekbone in prefix.bin
- install_tree("../Nekbone", prefix.bin.Nekbone)
+ install_tree(self.stage.source_path, prefix.bin.Nekbone)
# Install scripts in prefix.bin
nekpmpi = 'test/example1/nekpmpi'