Author: fuddl-guest
Date: 2007-02-20 23:14:19 +0100 (Tue, 20 Feb 2007)
New Revision: 2434

Modified:
   packages/trunk/ioquake3/debian/scripts/ioquake3
Log:
fixed bashism in ioquake3 wrapper script

Modified: packages/trunk/ioquake3/debian/scripts/ioquake3
===================================================================
--- packages/trunk/ioquake3/debian/scripts/ioquake3     2007-02-20 22:11:25 UTC 
(rev 2433)
+++ packages/trunk/ioquake3/debian/scripts/ioquake3     2007-02-20 22:14:19 UTC 
(rev 2434)
@@ -18,7 +18,7 @@
 # Quake 3 binaries don't understand "regular" command line parameters. Let's
 # catch them here, to avoid accidently launching the binary.
 while [ "$1" != "" ]; do {
-       if [ "$1" == "+set" ] || [ "$1" == "+exec" ]; then
+       if [ "$1" = "+set" ] || [ "$1" = "+exec" ]; then
                break;
        fi
        case "$1" in
@@ -34,7 +34,7 @@
 }; done
 
 # Ready to rumble!
-if [ ${QUIET} == 1 ]; then
+if [ ${QUIET} -eq 1 ]; then
        exec /usr/lib/games/ioquake3/ioquake3.bin +set fs_basepath 
/usr/share/games/quake3 +set ttycon 0 "$@" >/dev/null 2>&1
 else
        exec /usr/lib/games/ioquake3/ioquake3.bin +set fs_basepath 
/usr/share/games/quake3 "$@"


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to