find_program() can check that for us already, there's no need to require GNU bash on systems that default to other POSIX shells. Even though this is the *linuxlike* tests and a POSIX shell is guaranteed, there is actually no need to require a shell at all. It's *easier* to use the meson builtin functionality here.pull/10010/head
parent
62a6c95c13
commit
ed262cad97
2 changed files with 1 additions and 10 deletions
@ -1,6 +0,0 @@ |
||||
#!/usr/bin/env bash |
||||
|
||||
VERS=$(cmake --version | grep "cmake version") |
||||
VERS=${VERS//cmake version/} |
||||
|
||||
echo -n $VERS |
Loading…
Reference in new issue