summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-01-11 01:22:52 +0100
committerGitHub <noreply@github.com>2023-01-10 16:22:52 -0800
commit4414161787a449d70ada419b167708a91b66cada (patch)
tree3bb5f69d49f3ebfd9862be73b43c6a93884e1180 /var
parent881a0d446295f55a4e656e3500324a8dec22e236 (diff)
downloadspack-4414161787a449d70ada419b167708a91b66cada.tar.gz
spack-4414161787a449d70ada419b167708a91b66cada.tar.bz2
spack-4414161787a449d70ada419b167708a91b66cada.tar.xz
spack-4414161787a449d70ada419b167708a91b66cada.zip
numactl: remove bash from numactl (#34798)
It doesn't require bash on any registered version, and the file is executable and has a /bin/sh shebang.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/numactl/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/numactl/package.py b/var/spack/repos/builtin/packages/numactl/package.py
index 054a1ecf4a..d189ab23bb 100644
--- a/var/spack/repos/builtin/packages/numactl/package.py
+++ b/var/spack/repos/builtin/packages/numactl/package.py
@@ -37,8 +37,7 @@ class Numactl(AutotoolsPackage):
conflicts("platform=darwin")
def autoreconf(self, spec, prefix):
- bash = which("bash")
- bash("./autogen.sh")
+ Executable("./autogen.sh")()
@when("%nvhpc")
def patch(self):