clan-cli: fix grep in breakpoint check

This commit is contained in:
Jörg Thalheim
2023-08-09 10:36:46 +02:00
parent 9189c31def
commit 7d39f8346c

View File

@@ -79,7 +79,7 @@ python3.pkgs.buildPythonPackage {
'';
checkPhase = ''
PYTHONPATH= $out/bin/clan --help
if grep --include \*.py -q "breakpoint()" $out; then
if grep --include \*.py -Rq "breakpoint()" $out; then
echo "breakpoint() found in $out:"
grep --include \*.py -Rn "breakpoint()" $out
exit 1