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

sunilg 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 96d818a  SUBMARINE-88. rat.sh regex pattern not working issue while 
using lower version of grep in ubuntu16.04. Contributed by Zhankun Tang.
96d818a is described below

commit 96d818a2f7a0cd62f252234ba1a27c8c70bfed1f
Author: Sunil G <[email protected]>
AuthorDate: Wed Jun 5 07:48:24 2019 +0530

    SUBMARINE-88. rat.sh regex pattern not working issue while using lower 
version of grep in ubuntu16.04. Contributed by Zhankun Tang.
---
 hadoop-submarine/dev-support/checks/rat.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-submarine/dev-support/checks/rat.sh 
b/hadoop-submarine/dev-support/checks/rat.sh
index ffead21..0e4a034 100755
--- a/hadoop-submarine/dev-support/checks/rat.sh
+++ b/hadoop-submarine/dev-support/checks/rat.sh
@@ -17,7 +17,7 @@
 mkdir -p target
 rm target/rat-aggregated.txt
 mvn apache-rat:check
-grep -r --include=rat.txt "\!\?\?\?\?" ./* | tee ./target/rat-aggregated.txt
+grep -r --include=rat.txt -E "\!\?\?\?\?" ./* | tee ./target/rat-aggregated.txt
 if [ "$(cat target/rat-aggregated.txt)" ]; then
    echo "Failed to pass apache rat check!"
    exit -1


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

Reply via email to