You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/29 03:23:05 UTC

[GitHub] marcoabreu closed pull request #11476: [Nightly Tests] Fix regex which processes Apache RAT check output

marcoabreu closed pull request #11476: [Nightly Tests] Fix regex which processes Apache RAT check output
URL: https://github.com/apache/incubator-mxnet/pull/11476
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/nightly/apache_rat_license_check/license_check.sh b/tests/nightly/apache_rat_license_check/license_check.sh
index 84accf93f70..79e86c03e59 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!";


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services