[Libreoffice-commits] core.git: bin/rename-sw-abbreviations.sh
Jan Holesovsky
kendy at collabora.com
Tue May 12 08:02:27 PDT 2015
bin/rename-sw-abbreviations.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c326b9daaa58e2177c0a48fc03a34e7830997fab
Author: Jan Holesovsky <kendy at collabora.com>
Date: Tue May 12 17:01:09 2015 +0200
rename-sw-abbreviations.sh: Don't change the test documents.
Change-Id: I772d04cbc2ec02438c59024ed83d810557ad4da3
diff --git a/bin/rename-sw-abbreviations.sh b/bin/rename-sw-abbreviations.sh
index 3fb4f56..ccaab39 100755
--- a/bin/rename-sw-abbreviations.sh
+++ b/bin/rename-sw-abbreviations.sh
@@ -17,7 +17,7 @@ do
S="${I%/*}"
# change all except the filenames (in the .mk and in #include)
# also avoid XML_numFmt, that's a token name
- git grep -l "$S" sw/ | grep -v '\.mk' | xargs sed -i '/\(#include\|XML_numFmt\)/ !{ s/'"$I"'/g }'
+ git grep -l "$S" sw/ | grep -v -e '\.mk' -e '/data/' | xargs sed -i '/\(#include\|XML_numFmt\)/ !{ s/'"$I"'/g }'
done
# global:
More information about the Libreoffice-commits
mailing list