diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-05-12 16:36:13 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-12 16:36:13 +0200 |
commit | 44067f6f2ca09e53a3195553637aea97fcb23239 (patch) | |
tree | dafba248304516ee7a56a748b3bfdca3983111cc /bin | |
parent | c4e59041660f10a5a410ec6930db3e524439e4d4 (diff) |
rename-sw-abbreviations.sh: Avoid changing itself.
Change-Id: Ifbcd57a6ecbea67eefc89c2bbd72967b683362a3
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rename-sw-abbreviations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rename-sw-abbreviations.sh b/bin/rename-sw-abbreviations.sh index aea96045583a..3fb4f560e146 100755 --- a/bin/rename-sw-abbreviations.sh +++ b/bin/rename-sw-abbreviations.sh @@ -37,7 +37,7 @@ for I in "SvxSwAutoFmtFlags/SvxSwAutoFormatFlags" "GetCharFmtName/GetCharFormatN "etTxtSize/etTextSize" do S="${I%/*}" - git grep -l "$S" | grep -v '\.mk' | xargs sed -i "s/$I/g" + git grep -l "$S" | grep -v -e '\.mk' -e 'rename-sw-abbreviations.sh' | xargs sed -i "s/$I/g" done # vim: set noet sw=4 ts=4: |