This is an automated email from the ASF dual-hosted git repository.

aengineer 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 fb546d1  HDDS-1167. Error in 
hadoop-ozone/dev-support/checks/checkstyle.sh. Contributed by Nandakumar.
fb546d1 is described below

commit fb546d18073a04418b6541c18cbdb9548205ac7f
Author: Anu Engineer <[email protected]>
AuthorDate: Sat Feb 23 20:45:01 2019 -0800

    HDDS-1167. Error in hadoop-ozone/dev-support/checks/checkstyle.sh.
    Contributed by Nandakumar.
---
 hadoop-ozone/dev-support/checks/checkstyle.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-ozone/dev-support/checks/checkstyle.sh 
b/hadoop-ozone/dev-support/checks/checkstyle.sh
index 60efef0..0d80fbc 100755
--- a/hadoop-ozone/dev-support/checks/checkstyle.sh
+++ b/hadoop-ozone/dev-support/checks/checkstyle.sh
@@ -15,7 +15,7 @@
 # limitations under the License.
 mvn -fn checkstyle:check -am -pl :hadoop-ozone-dist -Phdds
 
-violations=$(grep -r error --include checkstyle-errors.xml | wc -l)
+violations=$(grep -r error --include checkstyle-errors.xml .| wc -l)
 if [[ $violations -gt 0 ]]; then
     echo "There are $violations checkstyle violations"
     exit -1


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to