You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2019/06/05 02:19:11 UTC
[hadoop] branch submarine-0.2 updated: SUBMARINE-88. rat.sh regex
pattern not working issue while using lower version of grep in ubuntu16.04.
Contributed by Zhankun Tang.
This is an automated email from the ASF dual-hosted git repository.
sunilg pushed a commit to branch submarine-0.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/submarine-0.2 by this push:
new a1a3983 SUBMARINE-88. rat.sh regex pattern not working issue while using lower version of grep in ubuntu16.04. Contributed by Zhankun Tang.
a1a3983 is described below
commit a1a3983d4ad3f0d897f467006aeabe28cb8d8c6d
Author: Sunil G <su...@apache.org>
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.
(cherry picked from commit 96d818a2f7a0cd62f252234ba1a27c8c70bfed1f)
---
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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org