Fix gettext use with Meson
[geeqie.git] / po / regen_potfiles.sh
index 04877c1..af90bde 100755 (executable)
@@ -1,14 +1,14 @@
 #!/bin/sh
 
 ## @file
-## @brief Generate a patch to update POTFILES.in
+## @brief Generate a patch to update POTFILES
 ##
 ## Use like this: ./regen_potfiles.sh | patch -p0
 ##
 
-TMP=POTFILES.in.$$
+TMP=POTFILES.$$
 ((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in' ; find ../ -type f -name '*.appdata.xml.in') | while read f; do
        (echo $f | sed 's#^../##')
 done) | sort > $TMP
-diff -u POTFILES.in $TMP
+diff -u POTFILES $TMP
 rm -f $TMP