This is an automated email from the ASF dual-hosted git repository. aw pushed a commit to branch YETUS-1034-release in repository https://gitbox.apache.org/repos/asf/yetus.git
commit 1660e7891dbe3161e4c29b58107cb9ce997fbde6 Author: Allen Wittenauer <[email protected]> AuthorDate: Wed Nov 18 20:38:44 2020 -0800 YETUS-1082. asflicense results incorrect pathing (#202) --- precommit/src/main/shell/test-patch.d/asflicense.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precommit/src/main/shell/test-patch.d/asflicense.sh b/precommit/src/main/shell/test-patch.d/asflicense.sh index d98466d..0db5127 100755 --- a/precommit/src/main/shell/test-patch.d/asflicense.sh +++ b/precommit/src/main/shell/test-patch.d/asflicense.sh @@ -148,7 +148,7 @@ function asflicense_tests # shellcheck disable=SC2016 "${GREP}" '\!?????' "${PATCH_DIR}/patch-asflicense.txt" \ - | "${SED}" -e "s,${BASEDIR},,g" -e "s, \!????? ,,g" \ + | "${SED}" -e "s,${BASEDIR}/,,g" -e "s, \!????? ,,g" \ | "${AWK}" '{print $1":1:Missing Apache License"}' \ >> "${PATCH_DIR}/results-asflicense.txt" add_vote_table_v2 -1 asflicense \
