This is an automated email from the ASF dual-hosted git repository. aw pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/yetus.git
commit 4c741d411a28dae9e021b1456ea989fc5f1222c0 Author: Allen Wittenauer <[email protected]> AuthorDate: Tue Jan 8 06:00:14 2019 -0800 YETUS-765. test-patch generating linecomments errors Signed-off-by: Sean Busbey <[email protected]> --- precommit/src/main/shell/test-patch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/precommit/src/main/shell/test-patch.sh b/precommit/src/main/shell/test-patch.sh index b361289..52a5579 100755 --- a/precommit/src/main/shell/test-patch.sh +++ b/precommit/src/main/shell/test-patch.sh @@ -2376,6 +2376,10 @@ function bugsystem_linecomments_trigger return fi + if [[ ! -f "${PATCH_DIR}/linecomments-in.txt" ]]; then + return 0 + fi + # sort the file such that all files and lines are now next to each other sort "${PATCH_DIR}/linecomments-in.txt" > "${PATCH_DIR}/linecomments-sorted.txt"
