From: Carl Hetherington Date: Thu, 7 Sep 2023 12:37:27 +0000 (+0200) Subject: Try to allow staged and non-staged i18n updates. X-Git-Tag: v2.16.64~15 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2211d3b0d6fa0ac55b844052398fdf6a71e082bb;p=dcpomatic.git Try to allow staged and non-staged i18n updates. --- diff --git a/hacks/i18nup b/hacks/i18nup index 1bc679ce5..1942b4531 100644 --- a/hacks/i18nup +++ b/hacks/i18nup @@ -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"