satsuma2: fix install error (#22208)

This commit is contained in:
Tomoyasu Nojiri 2021-03-10 18:16:59 +09:00 committed by GitHub
parent 8ff898a95e
commit 6da24dee91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,4 +19,4 @@ class Satsuma2(CMakePackage):
version('2016-11-22', commit='da694aeecf352e344b790bea4a7aaa529f5b69e6')
def install(self, spec, prefix):
install_tree(join_path('spack-build', 'bin'), prefix.bin)
install_tree(join_path(self.build_directory, 'bin'), prefix.bin)