Skip to content

Commit

Permalink
Make paste command Mac compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Nov 13, 2023
1 parent 6e96b48 commit a95e69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/checkstyle-10.12.4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ error_prone_shared_flags='-XepExcludedPaths:(\Q${project.basedir}${file.separato
error_prone_patch_flags="${error_prone_shared_flags} -XepPatchLocation:IN_PLACE -XepPatchChecks:$(
find "${error_prone_support_root}" -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" -print0 \
| xargs -0 ${grep_command} -hoP '[^.]+$' \
| paste -s -d ','
| paste -s -d ',' -
)"

error_prone_validation_flags="${error_prone_shared_flags} -XepDisableAllChecks $(
find "${error_prone_support_root}" -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" -print0 \
| xargs -0 ${grep_command} -hoP '[^.]+$' \
| ${sed_command} -r 's,(.*),-Xep:\1:WARN,' \
| paste -s -d ' '
| paste -s -d ' ' -
)"

echo "Shared build flags: ${shared_build_flags}"
Expand Down

0 comments on commit a95e69b

Please sign in to comment.