fix the bug of patch verify 13/46913/2
authorwutianwei <wutianwei1@huawei.com>
Thu, 9 Nov 2017 07:15:40 +0000 (15:15 +0800)
committerwutianwei <wutianwei1@huawei.com>
Thu, 9 Nov 2017 07:53:43 +0000 (15:53 +0800)
commitedb87b1eff536892aac65e7c6cf1c19e69791338
treea976512dec38c7cf1acc1d0da0847f87ae76c87a
parent122cf34bf3e656e1b7fa35e07dd8a71e42ed4d59
fix the bug of patch verify

If one patch don't modify the "yml" or "yaml" file,
the script will exit with 1 at egrep "ya?ml$", then mark build as failure.
In my opinion, if not modify the "yml" or "yaml" file, the yamllint should be successful.
So we need mark the result of egrep "ya?ml$" as true, then judge the $YAML_FILES.

Change-Id: I8abcadc9e4c85935ac7b20cdf54713b9800108ba
Signed-off-by: wutianwei <wutianwei1@huawei.com>
jjb/global/releng-macros.yml