[game-data-packager] 01/01: scummvm launcher: use 'exec' to start scummvm

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Jan 22 13:24:41 UTC 2016


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 1d98b4addad936dfb771a627dd040abc96a89ca9
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Jan 22 14:23:50 2016 +0100

    scummvm launcher: use 'exec' to start scummvm
---
 game_data_packager/games/scummvm_common.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/games/scummvm_common.py b/game_data_packager/games/scummvm_common.py
index c115dc9..b16860f 100644
--- a/game_data_packager/games/scummvm_common.py
+++ b/game_data_packager/games/scummvm_common.py
@@ -154,9 +154,9 @@ class ScummvmTask(PackagingTask):
                 f.write('done\n')
                 f.write(')\n')
                 f.write('if [ "$GAME_LANG" = "en" ]; then\n')
-                f.write('  scummvm -p /%s %s\n' % (install_to, gameid))
+                f.write('  exec scummvm -p /%s %s\n' % (install_to, gameid))
                 f.write('else\n')
-                f.write('  scummvm -q $GAME_LANG -p /%s %s\n' % (install_to, gameid))
+                f.write('  exec scummvm -q $GAME_LANG -p /%s %s\n' % (install_to, gameid))
                 f.write('fi\n')
             os.chmod(path, 0o755)
 

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