diff options
author | Hai Shalom <haishalom@google.com> | 2021-01-21 19:06:26 -0800 |
---|---|---|
committer | Hai Shalom <haishalom@google.com> | 2021-01-22 22:07:30 +0000 |
commit | c960c92f9cc63cc891b0fba9c04d94127394f4ed (patch) | |
tree | 7b720c0a1b9a1b9e8c4311ce12c32dd0be2d6988 /tools/stringslint/stringslint_sha.sh | |
parent | 286dc55bc983f7c0ea02cc920ff93b5a88472fa0 (diff) |
Shift stringslint to using python3.
Bug: 169704254
Test: manual
Change-Id: I175bdf75e7424bef6d4ac9f51797510766de2b14
(cherry picked from commit 85ccd0418097d774d8db8af77da2d6b5ed75d743)
Merged-In: I354ef4b12c75505a069fdf657ab98a9b122785c7
Diffstat (limited to 'tools/stringslint/stringslint_sha.sh')
-rwxr-xr-x | tools/stringslint/stringslint_sha.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/stringslint/stringslint_sha.sh b/tools/stringslint/stringslint_sha.sh index bd80bb4e6f3f..bd0569873197 100755 --- a/tools/stringslint/stringslint_sha.sh +++ b/tools/stringslint/stringslint_sha.sh @@ -1,5 +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 $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file) + python3 $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file) done |