[SCM] Packaging for Lugaru HD branch, debian_source, updated. debian/0_20110520.1+hge4354+dfsg-1-13-g69d4fd7

Arand Nash ienorand at gmail.com
Mon Oct 24 19:15:54 UTC 2011


The following commit has been merged in the debian_source branch:
commit 815e2bc3e3f4227fb2428699d1264c1ac6e5798d
Author: Arand Nash <ienorand at gmail.com>
Date:   Mon Oct 24 19:44:46 2011 +0200

    fix script argument parsing

diff --git a/debian/scripts/lugaru b/debian/scripts/lugaru
index b90ff19..e23c46f 100644
--- a/debian/scripts/lugaru
+++ b/debian/scripts/lugaru
@@ -1,16 +1,18 @@
 #!/bin/sh
 
-case "$arg" in
-    -h|-help|--help)
-	exec man lugaru
-        ;;
-    -fullscreen)
-        :
-        ;;
-    *)
-        CMD_OPTIONS="-windowed -nomousegrab"
-        ;;
-esac
+for arg in "$@"; do
+    case "$arg" in
+        -h|-help|--help)
+            exec man lugaru
+            ;;
+        -fullscreen)
+            :
+            ;;
+        *)
+            CMD_OPTIONS="-windowed -nomousegrab"
+            ;;
+    esac
+done
 
 cd /usr/lib/lugaru
 exec ./lugaru "$CMD_OPTIONS" ${1+"$@"}

-- 
Packaging for Lugaru HD



More information about the Pkg-games-commits mailing list