Remove calls to set_executable
The dunecontrol script should always be executable, so there is (hopefully) no need of calling this function.
This commit is contained in:
parent
df503f9038
commit
1c0ec5ad8a
|
@ -272,21 +272,18 @@ class Dune(CMakePackage):
|
|||
optFile.write('-DCMAKE_INSTALL_PREFIX=%s' % prefix)
|
||||
optFile.write('"')
|
||||
|
||||
set_executable('bin/dunecontrol')
|
||||
installer = Executable('bin/dunecontrol')
|
||||
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
||||
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'cmake')
|
||||
pass
|
||||
|
||||
def install(self, spec, prefix):
|
||||
set_executable('bin/dunecontrol')
|
||||
installer = Executable('bin/dunecontrol')
|
||||
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
||||
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'make', 'install')
|
||||
pass
|
||||
|
||||
def build(self, spec, prefix):
|
||||
set_executable('bin/dunecontrol')
|
||||
installer = Executable('bin/dunecontrol')
|
||||
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
||||
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'make')
|
||||
|
|
Loading…
Reference in New Issue