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

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

commit 6771a19cc3416af1cb95bcc3d98a69b732c3493c
Author: Simon McVittie <s...@debian.org>
Date:   Mon Oct 26 00:16:48 2015 +0000

    quake4: Enable easier access to the console by default
---
 quake4.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/quake4.in b/quake4.in
index c8e2638..1a6bf61 100644
--- a/quake4.in
+++ b/quake4.in
@@ -61,15 +61,17 @@ for i in pak001 pak021 pak022 zpak_english; do
   fi
 done
 
+cvars="+set com_allowconsole 1"
+
 # Quake 4 expects to run in its installation directory
 cd "$pkglibdir"
 # The SMP binary needs a modified bundled copy of SDL.
 export LD_LIBRARY_PATH="${pkglibdir}${LD_LIBRARY_PATH:+":${LD_LIBRARY_PATH}"}"
 
 if test -n "$QUAKE4_BACKTRACE"; then
-  exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' 
-ex kill -ex quit --args "${pkglibdir}/${binary}" "$@"
+  exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' 
-ex kill -ex quit --args "${pkglibdir}/${binary}" ${cvars} "$@"
 else
-  exec ${QUAKE4_DEBUGGER} "${pkglibdir}/${binary}" "$@"
+  exec ${QUAKE4_DEBUGGER} "${pkglibdir}/${binary}" ${cvars} "$@"
 fi
 
 # vim:set sw=2 sts=2 et:

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

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to