SUBMARINE-88. rat.sh regex pattern not working issue while using lower version of grep in ubuntu16.04. Contributed by Zhankun Tang.
This commit is contained in:
parent
e7e30a5f8b
commit
96d818a2f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user