Skip to content

Commit

Permalink
brp-remove-la-files: use -0 to work on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev authored and ffesti committed Dec 30, 2022
1 parent e9bd7c7 commit 492be59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/brp-remove-la-files
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 492be59

Please sign in to comment.