diff options
Diffstat (limited to 'tools/hiddenapi/exclude.sh')
| -rwxr-xr-x | tools/hiddenapi/exclude.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hiddenapi/exclude.sh b/tools/hiddenapi/exclude.sh index 2924e0109830..822aba4ee43b 100755 --- a/tools/hiddenapi/exclude.sh +++ b/tools/hiddenapi/exclude.sh @@ -48,7 +48,7 @@ SHA=$1 PACKAGES=$(for t in $TEAMS; do echo $(eval echo \${${t}_PACKAGES}); done) RE=$(echo ${PACKAGES} | sed "s/ /|/g") EXIT_CODE=0 -for file in $(git show --name-only --pretty=format: $SHA | grep "config/hiddenapi-.*txt"); do +for file in $(git show --name-only --pretty=format: $SHA | grep "boot/hiddenapi/hiddenapi-.*txt"); do ENTRIES=$(grep -E "^\+L(${RE})/" <(git diff ${SHA}~1 ${SHA} $file) | sed "s|^\+||" || echo) if [[ -n "${ENTRIES}" ]]; then echo -e "\e[1m\e[31m$file $SHA contains the following entries\e[0m" |