Skip to content
Snippets Groups Projects
Commit 637da635 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Merge pull request #948 from davydden/bugfix/astyle

astyle: fix filter command which failed on OSX with python 2.7.10
parents af778572 67999d1b
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ def install(self, spec, prefix): ...@@ -41,7 +41,7 @@ def install(self, spec, prefix):
# we need to edit the makefile in place to set compiler: # we need to edit the makefile in place to set compiler:
make_file = join_path(self.stage.source_path, make_file = join_path(self.stage.source_path,
'build', 'gcc', 'Makefile') 'build', 'gcc', 'Makefile')
filter_file(r'^CXX\s*=.*', 'CXX=%s'.format(spack_cxx), make_file) filter_file(r'^CXX\s*=.*', 'CXX=%s' % spack_cxx, make_file)
make('-f', make('-f',
make_file, make_file,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment