[game-data-packager] 01/14: Launcher: make the --engine command-line argument work

Simon McVittie smcv at debian.org
Fri Oct 14 11:32:02 UTC 2016


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 c6f00607474ec1c6a9de75adbd36d8025c3f80e5
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Oct 14 11:14:15 2016 +0100

    Launcher: make the --engine command-line argument work
---
 runtime/launcher.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/runtime/launcher.py b/runtime/launcher.py
index 5b36f7a..91b0006 100755
--- a/runtime/launcher.py
+++ b/runtime/launcher.py
@@ -253,6 +253,9 @@ class Launcher:
         if self.args.smp and 'smp_engine' in self.data:
             self.engines.insert(0, self.data['smp_engine'])
 
+        if self.engines and self.args.engine is not None:
+            self.engines.insert(0, self.args.engine)
+
         self.engine = None
 
         self.base_directories = list(map(expand,

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