diff --git a/var/spack/repos/builtin/packages/miniqmc/package.py b/var/spack/repos/builtin/packages/miniqmc/package.py index b98545f284..06382c75fc 100644 --- a/var/spack/repos/builtin/packages/miniqmc/package.py +++ b/var/spack/repos/builtin/packages/miniqmc/package.py @@ -31,5 +31,5 @@ def cmake_args(self): return args def install(self, spec, prefix): - install_tree(join_path('../spack-build', 'bin'), prefix.bin) - install_tree(join_path('../spack-build', 'lib'), prefix.lib) + install_tree(join_path(self.build_directory, 'bin'), prefix.bin) + install_tree(join_path(self.build_directory, 'lib'), prefix.lib)