Make find backend only look for ebuilds
This commit is contained in:
parent
de5ba7a533
commit
72504309cc
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def find(query, paths, depth=None):
|
|||
depth_args = ["-mindepth", f"{depth}", "-maxdepth", f"{depth}"] if depth is not None else []
|
||||
|
||||
proc = subprocess.run(
|
||||
["find", *paths, *depth_args, "-iname", f"*{query}*", "-print0"],
|
||||
["find", *paths, *depth_args, "-iname", f"*{query}*.ebuild", "-print0"],
|
||||
check=True, stdout=subprocess.PIPE
|
||||
)
|
||||
return list_from_print0(proc.stdout)
|
||||
|
|
Loading…
Reference in a new issue