Skip to content

Commit

Permalink
Fix paste command for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsamehsalah committed Oct 31, 2023
1 parent 1f758d9 commit 0e8cb24
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 @@ -67,14 +67,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" -not -path '*/error-prone-contrib/*' -print0 \
| xargs -0 ${grep_command} -hoP '[^.]+$' \
| paste -s -d ','
| paste -s -d ',' -
) -XepOpt:Refaster:NamePattern=.*workshop.*"

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

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

0 comments on commit 0e8cb24

Please sign in to comment.