aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDiego Martínez <lkaezadl3@yahoo.com>2014-09-30 10:57:28 -0300
committerShadowNinja <shadowninja@minetest.net>2014-09-30 13:25:26 -0400
commit47abe25fe7d87ef3f15ec8d1e5a9ece51819a606 (patch)
treef0b43e8d174d486126ca94dc91b52bfeab1797f9 /util
parentdb5aff832ba929c567564bfd9ee7bb6d7ef03a05 (diff)
downloadminetest-47abe25fe7d87ef3f15ec8d1e5a9ece51819a606.tar.gz
minetest-47abe25fe7d87ef3f15ec8d1e5a9ece51819a606.tar.bz2
minetest-47abe25fe7d87ef3f15ec8d1e5a9ece51819a606.zip
updatepo.sh: Find all files
Diffstat (limited to 'util')
-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