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:
Dominic Kempf 2020-05-14 09:39:56 +02:00
parent df503f9038
commit 1c0ec5ad8a
1 changed files with 0 additions and 3 deletions

View File

@ -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')