Skip to content

Commit b95425f

Browse files
committed
Preserving original file formating
1 parent 6fd20ac commit b95425f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/remove_string.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
# Usage: ./remove_string.sh <string_id>
99

1010
ls res/values*/strings.xml | while read STRINGS ; do
11-
xmlstarlet ed -d "/resources/*[@name='${1}']" ${STRINGS} > /tmp/strings.xml
11+
xmlstarlet ed -P -d "/resources/*[@name='${1}']" ${STRINGS} > /tmp/strings.xml
1212
mv /tmp/strings.xml ${STRINGS}
1313
done

0 commit comments

Comments
 (0)