This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new f699d02 YETUS-1082. asflicense results incorrect pathing (#202)
f699d02 is described below
commit f699d02391f5e2b6564e962c33e44faeb69c7cf4
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 \