clan-cli: fix grep in breakpoint check
This commit is contained in:
@@ -79,7 +79,7 @@ python3.pkgs.buildPythonPackage {
|
|||||||
'';
|
'';
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
PYTHONPATH= $out/bin/clan --help
|
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:"
|
echo "breakpoint() found in $out:"
|
||||||
grep --include \*.py -Rn "breakpoint()" $out
|
grep --include \*.py -Rn "breakpoint()" $out
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user