From: Josh Boyer Date: Tue, 7 Jan 2025 16:31:29 +0000 (-0500) Subject: Fix has_gnu_parallel function X-Git-Tag: 20250109~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af598a3f9be60b586cddf20bfa85bc2c33994aba;p=thirdparty%2Flinux-firmware.git 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 Signed-off-by: Josh Boyer --- diff --git a/copy-firmware.sh b/copy-firmware.sh index c78c5bd1..e64b5677 100755 --- a/copy-firmware.sh +++ b/copy-firmware.sh @@ -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