summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/pbbam/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pbbam/package.py b/var/spack/repos/builtin/packages/pbbam/package.py
index 26622715e9..03be8f3b61 100644
--- a/var/spack/repos/builtin/packages/pbbam/package.py
+++ b/var/spack/repos/builtin/packages/pbbam/package.py
@@ -34,9 +34,10 @@ class Pbbam(CMakePackage):
return options
def install(self, spec, prefix):
- install_tree('spack-build/bin', prefix.bin)
- install_tree('spack-build/lib', prefix.lib)
install_tree('include/pbbam', prefix.include.pbbam)
+ with working_dir(self.build_directory):
+ install_tree('bin', prefix.bin)
+ install_tree('lib', prefix.lib)
def setup_dependent_build_environment(self, env, dependent_spec):
env.set('PacBioBAM_LIBRARIES', self.prefix.lib)