aboutsummaryrefslogtreecommitdiff
path: root/util/updatepo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/updatepo.sh')
-rwxr-xr-xutil/updatepo.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/updatepo.sh b/util/updatepo.sh
index fc463f8bc..29d1f2fb1 100755
--- a/util/updatepo.sh
+++ b/util/updatepo.sh
@@ -48,7 +48,11 @@ cd ..
# directory at the top level. You a recent enough xgettext that supports
# --package-name
potfile=po/minetest.pot
-xgettext --package-name=minetest -kN_ -kwgettext -kfgettext -F -n -o $potfile src/*.cpp src/*.h builtin/*.lua
+xgettext --package-name=minetest \
+ -kN_ -kwgettext -kfgettext \
+ -F -n -o $potfile \
+ `find src/ -name '*.cpp' -o -name '*.h'` \
+ `find builtin/ -name '*.lua'`
# Now iterate on all languages and create the po file if missing, or update it
# if it exists already