From 1c0ec5ad8a519ddc8d2f9760c683722da4c1a42a Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Thu, 14 May 2020 09:39:56 +0200 Subject: [PATCH] Remove calls to set_executable The dunecontrol script should always be executable, so there is (hopefully) no need of calling this function. --- packages/dune/package.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/dune/package.py b/packages/dune/package.py index 4621eac..11219f0 100644 --- a/packages/dune/package.py +++ b/packages/dune/package.py @@ -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')