You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/06/29 03:23:12 UTC
[incubator-mxnet] branch master updated: fix regex which processes
RAT check output (#11476)
This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new f02e627 fix regex which processes RAT check output (#11476)
f02e627 is described below
commit f02e627109d54f1cee32ef20a14462d0b4878f49
Author: mbaijal <30...@users.noreply.github.com>
AuthorDate: Thu Jun 28 20:23:03 2018 -0700
fix regex which processes RAT check output (#11476)
---
tests/nightly/apache_rat_license_check/license_check.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/nightly/apache_rat_license_check/license_check.sh b/tests/nightly/apache_rat_license_check/license_check.sh
index 84accf9..79e86c0 100755
--- a/tests/nightly/apache_rat_license_check/license_check.sh
+++ b/tests/nightly/apache_rat_license_check/license_check.sh
@@ -43,7 +43,7 @@ SOURCE="^0 Unknown Licenses"
echo "-------Process The Output-------"
-if [[ "$OUTPUT" =~ "$SOURCE" ]]; then
+if [[ "$OUTPUT" =~ $SOURCE ]]; then
echo "SUCCESS: There are no files with an Unknown License.";
else
echo "ERROR: RAT Check detected files with unknown licenses. Please fix and run test again!";