This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 8f02746 [FLINK-12346][travis][build] Account for timestamps in
scala-suffix check
8f02746 is described below
commit 8f02746ec7316ccdc6d25e915f3b58595438cc44
Author: Chesnay Schepler <[email protected]>
AuthorDate: Sat Apr 27 13:18:45 2019 +0200
[FLINK-12346][travis][build] Account for timestamps in scala-suffix check
---
tools/verify_scala_suffixes.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/verify_scala_suffixes.sh b/tools/verify_scala_suffixes.sh
index ad3c6a1..2123ab1 100755
--- a/tools/verify_scala_suffixes.sh
+++ b/tools/verify_scala_suffixes.sh
@@ -94,14 +94,14 @@ infected=""
clean=""
while read line; do
- if [[ $line == "$BEGIN"* ]]; then
+ if [[ $line == *"$BEGIN"* ]]; then
reached_block=1
# Maven module name
block_name=`[[ "$line" =~ .*(flink-?[-a-zA-Z0-9.]*).* ]] && echo
${BASH_REMATCH[1]}`
- elif [[ $line == "$SEPARATOR" ]] && [[ $reached_block -eq 1 ]]; then
+ elif [[ $line == *"$SEPARATOR"* ]] && [[ $reached_block -eq 1 ]]; then
reached_block=0
in_block=1
- elif [[ $line == "$END" ]] && [[ $in_block -eq 1 ]]; then
+ elif [[ $line == *"$END"* ]] && [[ $in_block -eq 1 ]]; then
if [[ $block_infected -eq 0 ]]; then
clean="$block_name $clean"
fi