diff options
author | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2022-12-30 19:40:15 +0100 |
---|---|---|
committer | Michal Domonkos <mdomonko@redhat.com> | 2023-03-13 15:32:25 +0100 |
commit | b3f0720413f924019ff2ce53c4d7cb4bca0e6a10 (patch) | |
tree | 82f2b00b4a10c37260a57c4faafc38bfc9c352ab | |
parent | 65f61ab0c2b3bb618bcbd560300a4d59474a872a (diff) | |
download | rpm-b3f0720413f924019ff2ce53c4d7cb4bca0e6a10.tar.gz |
brp-remove-la-files: use -0 to work on macOS
(cherry picked from commit 492be59ece28a7341de0bd88c0a23125ba54d2ce)
-rwxr-xr-x | scripts/brp-remove-la-files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/brp-remove-la-files b/scripts/brp-remove-la-files index 56fa25adf..58c513bf8 100755 --- a/scripts/brp-remove-la-files +++ b/scripts/brp-remove-la-files @@ -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 |