Merge "Detect paths without lunch." into pi-dev

This commit is contained in:
Jeff Sharkey
2018-03-28 14:47:05 +00:00
committed by Android (Google) Code Review

View File

@@ -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