testers.hasPkgConfigModules: fix versionCheck
conditional
Broke tests, as the version check was effectively always enabled: https://github.com/NixOS/nixpkgs/pull/307770#issuecomment-2102586718
This commit is contained in:
parent
1d4d9facbc
commit
4af3b807fc
@ -55,7 +55,7 @@ runCommand testName {
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ $notFound -eq 0 ]] && ([[ $versionMismatch -eq 0 ]] || [[ "$versionCheck" == false ]]); then
|
||||
if [[ $notFound -eq 0 ]] && ([[ $versionMismatch -eq 0 ]] || [[ -z "$versionCheck" ]]); then
|
||||
exit 0
|
||||
fi
|
||||
if [[ $notFound -ne 0 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user