From: Diego Martínez Date: Tue, 30 Sep 2014 13:57:28 +0000 (-0300) Subject: updatepo.sh: Find all files X-Git-Tag: 0.4.11~250 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=47abe25fe7d87ef3f15ec8d1e5a9ece51819a606;p=oweals%2Fminetest.git updatepo.sh: Find all files --- 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