diff options
author | Jeff Sharkey <jsharkey@google.com> | 2018-03-28 15:10:32 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-28 15:10:32 +0000 |
commit | e26e50ebeccf4de6eab82a8fb669be0196cae999 (patch) | |
tree | 0f053f42e5cfd5745e47b97c17c24387fe04c9c6 | |
parent | 1a2ee998b7eed03fccf06e74e04e02a901609ba1 (diff) | |
parent | 3fbbd0f95dc5f3ebefe9f81b37657fe8f2128c20 (diff) |
Merge "Detect paths without lunch." into pi-dev am: 7f0d63d158
am: 3fbbd0f95d
Change-Id: I16278379a955886268268a242d0f3dbb4b9e140d
-rwxr-xr-x | tools/stringslint/stringslint_sha.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/stringslint/stringslint_sha.sh b/tools/stringslint/stringslint_sha.sh index c79ba04d5e10..bd80bb4e6f3f 100755 --- a/tools/stringslint/stringslint_sha.sh +++ b/tools/stringslint/stringslint_sha.sh @@ -1,4 +1,5 @@ #!/bin/bash +LOCAL_DIR="$( dirname ${BASH_SOURCE} )" git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do - python $ANDROID_BUILD_TOP/frameworks/base/tools/stringslint/stringslint.py <(git show $1:$file) <(git show $1^:$file) + python $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file) done |