fix usage of self.build_directory in espressopp and astyle (#3053)

This commit is contained in:
Denis Davydov
2017-02-08 03:22:52 +01:00
committed by Todd Gamblin
parent b1f5b5f75b
commit 4264051954
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ def build_directory(self):
return join_path(self.stage.source_path, 'build', self.compiler.name)
def edit(self, spec, prefix):
makefile = join_path(self.build_directory(), 'Makefile')
makefile = join_path(self.build_directory, 'Makefile')
filter_file(r'^CXX\s*=.*', 'CXX=%s' % spack_cxx, makefile)
# strangely enough install -o $(USER) -g $(USER) stoped working on OSX
if sys.platform == 'darwin':