Try to allow staged and non-staged i18n updates.
authorCarl Hetherington <cth@carlh.net>
Thu, 7 Sep 2023 12:37:27 +0000 (14:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 7 Sep 2023 12:37:27 +0000 (14:37 +0200)
hacks/i18nup

index 1bc679ce50154e8e9a48bf9f32f32a1a102b3814..1942b45313f9c84f1101d7c32c5d1471da380f5c 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/bash
-changes=`git status -s | grep "^ M"`
+changes=`git status -s | grep "^.*M"`
 check=`echo "$changes" | grep -v /po/`
 if [ "$check" != "" ]; then
   echo "Non i18n updates would be committed"