From 3fbace03a0e9dbd415efe917561a38f1546919f8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 5 Sep 2022 13:27:41 +0200 Subject: update-po{,t}.sh: Update script to CMake port of this project. --- update-po.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update-po.sh') diff --git a/update-po.sh b/update-po.sh index 5f9e9fd..2043358 100755 --- a/update-po.sh +++ b/update-po.sh @@ -16,7 +16,7 @@ set -x # You should have received a copy of the GNU General Public License # along with this program. If not, see -GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//') +GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/') cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~ -- cgit v1.2.3