brp-remove-la-files: use -0 to work on macOS

This commit is contained in:
Sean Molenaar 2022-12-30 19:40:15 +01:00 committed by Florian Festi
parent e9bd7c761f
commit 492be59ece
1 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@ if [ -z "$RPM_BUILD_ROOT" ] || [ "$RPM_BUILD_ROOT" = "/" ]; then
fi
find "$RPM_BUILD_ROOT" -type f -name '*.la' 2>/dev/null -print0 |
xargs --null grep --fixed-strings '.la - a libtool library file' --files-with-matches --null |
xargs --null rm --force
xargs -0 grep --fixed-strings '.la - a libtool library file' --files-with-matches --null |
xargs -0 rm --force