[game-data-packager] 08/25: make_template: ignore .386 binary files

Simon McVittie smcv at debian.org
Wed Feb 4 10:01:34 UTC 2015


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

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

commit 7f8e0e6ecc28dbfbc2698b29553ae110e0769329
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Jan 28 15:10:19 2015 +0100

    make_template: ignore .386 binary files
---
 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 c57fa6d..1b25a49 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -55,7 +55,7 @@ def do_one_dir(destdir):
 
             if os.path.isdir(path):
                 continue
-            elif os.path.splitext(fn.lower())[1] in ('.exe', '.ovl', '.dll', '.bat'):
+            elif os.path.splitext(fn.lower())[1] in ('.exe', '.ovl', '.dll', '.bat', '.386'):
                 logger.warning('ignoring dos/windows binary at %s' % path)
             elif os.path.islink(path):
                 package.setdefault('symlinks', {})[name] = os.path.realpath(path).lstrip('/')

-- 
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