rename-sw-abbreviations.sh: Avoid test documents in complex tests.
Change-Id: I596cac73218c30edc6e9c41555a120877cd5ee47
This commit is contained in:
@@ -17,7 +17,7 @@ do
|
|||||||
S="${I%/*}"
|
S="${I%/*}"
|
||||||
# change all except the filenames (in the .mk and in #include)
|
# change all except the filenames (in the .mk and in #include)
|
||||||
# also avoid numFmt (OOXML token) and other stuff that must stay verbatim
|
# 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
|
done
|
||||||
|
|
||||||
# global:
|
# global:
|
||||||
|
Reference in New Issue
Block a user