[game-data-packager] 02/02: make-template: detect <$lang> in unpacked archive path

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Oct 6 22:17:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 5d38d8e5dc76c6a50d4e8274869c8a4df0804c70
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Oct 7 00:17:05 2015 +0200

    make-template: detect <$lang> in unpacked archive path
---
 game_data_packager/make_template.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index a8b1a54..3339c98 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -668,7 +668,7 @@ def main():
     for arg in args.args:
         basename = os.path.basename(arg)
         if os.path.isdir(arg):
-            gamedata.add_one_dir(arg.rstrip('/'),args.lower)
+            gamedata.add_one_dir(arg.rstrip('/'), args.lower, lang=guess_lang(arg))
         elif arg.endswith('.deb'):
             gamedata.add_one_deb(arg,args.lower)
             if basename.startswith('gog_'):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list