mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
fix(abuild): use -print0 **after** the print commands
This commit is contained in:
parent
dee82f764c
commit
74b32d03db
@ -1234,8 +1234,9 @@ prepare_py_provides() {
|
||||
# .egg-info packages, store the basename with the proper pyX.Y prefix
|
||||
# one per-line
|
||||
py_providers="$(find 'usr/lib/python'*/site-packages \
|
||||
-print0 -mindepth 1 -maxdepth 1 \
|
||||
-mindepth 1 -maxdepth 1 \
|
||||
-type f -iname '*.py' -o -type d \
|
||||
-print0 \
|
||||
2>/dev/null | xargs -0 -I '{}' sh -c '
|
||||
d="{}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user