diff options
author | Diego MartÃnez <lkaezadl3@yahoo.com> | 2014-09-30 10:57:28 -0300 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-09-30 13:25:26 -0400 |
commit | 47abe25fe7d87ef3f15ec8d1e5a9ece51819a606 (patch) | |
tree | f0b43e8d174d486126ca94dc91b52bfeab1797f9 /util | |
parent | db5aff832ba929c567564bfd9ee7bb6d7ef03a05 (diff) | |
download | minetest-47abe25fe7d87ef3f15ec8d1e5a9ece51819a606.tar.gz minetest-47abe25fe7d87ef3f15ec8d1e5a9ece51819a606.tar.bz2 minetest-47abe25fe7d87ef3f15ec8d1e5a9ece51819a606.zip |
updatepo.sh: Find all files
Diffstat (limited to 'util')
-rwxr-xr-x | util/updatepo.sh | 6 |
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 |