From 3567d9e113b75e102ff8f017342389c229d8cff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= <mvdan@mvdan.cc> Date: Fri, 10 Jan 2014 22:41:50 +0100 Subject: [PATCH] Make fix-ellipsis.sh more accurate * Don't do dirs like res/layout * Do xml files other than strings.xml like arrays.xml --- tools/fix-ellipsis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fix-ellipsis.sh b/tools/fix-ellipsis.sh index 5a69f89b1..a00e26859 100755 --- a/tools/fix-ellipsis.sh +++ b/tools/fix-ellipsis.sh @@ -2,4 +2,4 @@ # Fix TypographyEllipsis programmatically -find res -name strings.xml -type f | xargs -n 1 sed -i 's/\.\.\./…/g' +find res/values* -name '*.xml' -type f | xargs -n 1 sed -i 's/\.\.\./…/g'