[rocksndiamonds] 09/13: Pass arguments from the front-end script.

Stephen Kitt skitt at moszumanska.debian.org
Sun Sep 20 20:49:02 UTC 2015


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

skitt pushed a commit to branch master
in repository rocksndiamonds.

commit 80e5ac8fbac5d52d0b38caa40c6ef2cdc30675d9
Author: Stephen Kitt <steve at sk2.org>
Date:   Sun Sep 20 22:29:30 2015 +0200

    Pass arguments from the front-end script.
---
 debian/changelog       | 2 ++
 debian/start_binary.sh | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cba512a..e113cc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ rocksndiamonds (3.3.0.1+dfsg1-3) UNRELEASED; urgency=medium
   * Stop removing the .pc directory when cleaning (closes: #793240).
   * Don't mention Legend of Zelda in the package description (closes:
     #752496).
+  * Pass arguments from the front-end script (closes: #752494); thanks to
+    Andreas Stempfhuber for the patch!
 
  -- Stephen Kitt <skitt at debian.org>  Sun, 20 Sep 2015 22:18:33 +0200
 
diff --git a/debian/start_binary.sh b/debian/start_binary.sh
index b687fd0..1a3222a 100644
--- a/debian/start_binary.sh
+++ b/debian/start_binary.sh
@@ -4,7 +4,7 @@ LEVEL_DIR=/usr/share/games/rocksndiamonds
 
 
 if test -d $LEVEL_DIR/levels; then
-	exec /usr/games/rocksndiamonds-bin
+	exec /usr/games/rocksndiamonds-bin "$@"
 else
 	echo "Game data not installed!"
 	echo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/rocksndiamonds.git



More information about the Pkg-games-commits mailing list