[Libreoffice-commits] core.git: bin/rename-sw-abbreviations.sh

Jan Holesovsky kendy at collabora.com
Wed Nov 25 13:50:37 PST 2015


 bin/rename-sw-abbreviations.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 55d0a5e43c968798fe52587f9dae256d94e9ce53
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Nov 25 22:49:32 2015 +0100

    rename-sw-abbreviations.sh: Avoid test documents in complex tests.
    
    Change-Id: I596cac73218c30edc6e9c41555a120877cd5ee47

diff --git a/bin/rename-sw-abbreviations.sh b/bin/rename-sw-abbreviations.sh
index 785dfda..219b4f2 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 numFmt (OOXML token) and other stuff that must stay verbatim
-    git grep -l "$S" sw/ | grep -v -e '\.mk' -e '/data/' | xargs sed -i '/\(#include\|numFmt\|ForeignTxt\)/ !{ s/'"$I"'/g }'
+    git grep -l "$S" sw/ | grep -v -e '\.mk' -e '/data/' -e '/testdocuments/' | xargs sed -i '/\(#include\|numFmt\|ForeignTxt\)/ !{ s/'"$I"'/g }'
 done
 
 # global:


More information about the Libreoffice-commits mailing list