This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 61bbdee HDDS-1800. Result of author check is inverted
61bbdee is described below
commit 61bbdeee193d8bdcbadbc2823a3e63aab0c83422
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon Jul 15 18:00:10 2019 +0200
HDDS-1800. Result of author check is inverted
Closes #1092
---
hadoop-ozone/dev-support/checks/author.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hadoop-ozone/dev-support/checks/author.sh
b/hadoop-ozone/dev-support/checks/author.sh
index d5a469c..f50a396 100755
--- a/hadoop-ozone/dev-support/checks/author.sh
+++ b/hadoop-ozone/dev-support/checks/author.sh
@@ -20,9 +20,8 @@ cd "$DIR/../../.." || exit 1
AUTHOR="uthor"
AUTHOR="@a${AUTHOR}"
-grep -r --include="*.java" "$AUTHOR" .
if grep -r --include="*.java" "$AUTHOR" .; then
- exit 0
-else
exit 1
+else
+ exit 0
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]