diff options
Diffstat (limited to 'update-po.sh')
-rwxr-xr-x | update-po.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-po.sh b/update-po.sh index f0081bb..59ad5c4 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~ |