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 115383d1f816c7ceca526d844ca27eccf3116eb8
Author: Simon McVittie <s...@debian.org>
Date:   Wed Jul 6 23:05:14 2011 +0100

    quake.sh: allow the engine to be forced
---
 quake.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/quake.sh b/quake.sh
index b3a5934..adec96d 100644
--- a/quake.sh
+++ b/quake.sh
@@ -17,6 +17,14 @@ main() {
                 show_version
                 exit 2
                 ;;
+            --engine)
+                engine_path="$2"
+                shift
+                ;;
+            --engine=*)
+                engine_path="$1"
+                engine_path="${engine_path#--engine=}"
+                ;;
             *)
                 break
                 ;;
@@ -39,6 +47,8 @@ show_help() {
     echo "This script supports these options:"
     echo "  -h, --help       show this help information"
     echo "  -v, --version    show version information"
+    echo "  --engine BINARY  use BINARY as the Quake engine, e.g."
+    echo "                   quake --engine=/usr/bin/darkplaces"
     echo
     echo "Any further arguments will be passed directly to the Quake engine."
 }

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