aboutsummaryrefslogtreecommitdiff
path: root/update-po.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-05 13:27:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-05 13:27:41 +0200
commit3fbace03a0e9dbd415efe917561a38f1546919f8 (patch)
tree42acd84501c89ef7b90c107623ba9c661a5e1386 /update-po.sh
parente19755aa3ca65ba9cf6ed6f6949d3b305d08817d (diff)
downloadayatana-indicator-messages-3fbace03a0e9dbd415efe917561a38f1546919f8.tar.gz
ayatana-indicator-messages-3fbace03a0e9dbd415efe917561a38f1546919f8.tar.bz2
ayatana-indicator-messages-3fbace03a0e9dbd415efe917561a38f1546919f8.zip
update-po{,t}.sh: Update script to CMake port of this project.
Diffstat (limited to 'update-po.sh')
-rwxr-xr-xupdate-po.sh2
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>
-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~