mirror of https://github.com/hashicorp/consul
Update grep command to work on ubuntu
parent
9e9800e8ce
commit
e0bdca41f6
|
@ -3,7 +3,7 @@
|
|||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
|
||||
busl_files=$(grep -r 'SPDX-License-Identifier: BUSL' --exclude=./.github/scripts/license_checker.sh .)
|
||||
busl_files=$(grep -r 'SPDX-License-Identifier: BUSL' . --exclude-dir .github)
|
||||
|
||||
# If we do not find a file in .changelog/, we fail the check
|
||||
if [ -n "$busl_files" ]; then
|
||||
|
|
Loading…
Reference in New Issue