Merge pull request #552 from r2d4/boilerplate

Use double brackets instead of single for boilerplate script
pull/554/head
dlorenc 2016-09-06 14:41:53 -07:00 committed by GitHub
commit 430894c313
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ BOILERPLATEDIR=./hack/boilerplate
set +e set +e
files=$(${PYTHON} ${BOILERPLATEDIR}/boilerplate.py --rootdir . --boilerplate-dir ${BOILERPLATEDIR} | grep -v $ignore) files=$(${PYTHON} ${BOILERPLATEDIR}/boilerplate.py --rootdir . --boilerplate-dir ${BOILERPLATEDIR} | grep -v $ignore)
set -e set -e
if [ ! -z ${files} ]; then if [[ ! -z ${files} ]]; then
echo "Boilerplate missing in: ${files}." echo "Boilerplate missing in: ${files}."
exit 1 exit 1
fi fi