From fb546d18073a04418b6541c18cbdb9548205ac7f Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Sat, 23 Feb 2019 20:45:01 -0800 Subject: [PATCH] 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 60efef0ede..0d80fbce2c 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