mirror of
https://gitlab.com/kernel-firmware/linux-firmware.git
synced 2025-12-10 07:44:48 +01:00
Fix has_gnu_parallel function
Different distributions package the parallel command in ways that generate differing output from --version. Adjust the grep to look 'gnu parallel' case insensitive to account for these differences. Reported-by: Genes Lists <lists@sapience.com> Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This commit is contained in:
parent
1b7d065adf
commit
af598a3f9b
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ warn() {
|
|||
|
||||
has_gnu_parallel() {
|
||||
if command -v parallel > /dev/null; then
|
||||
if parallel --version | grep -Fq 'GNU Parallel'; then
|
||||
if parallel --version | grep -Fqi 'gnu parallel'; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue