[wesnoth] 01/01: fix nolog script

Vincent Cheng vcheng at moszumanska.debian.org
Tue Apr 28 22:40:53 UTC 2015


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

vcheng pushed a commit to branch master
in repository wesnoth.

commit 2afd7795c47d6481310b3119b9e1867ae97ebf95
Author: Vincent Cheng <vcheng at debian.org>
Date:   Tue Apr 28 15:40:43 2015 -0700

    fix nolog script
---
 debian/changelog               | 1 +
 debian/wesnoth-1.12-nolog      | 2 +-
 debian/wesnoth-BRANCH-nolog.in | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8854f40..c18dd7a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ wesnoth-1.12 (1:1.12.2-2) unstable; urgency=medium
   * Add systemd service file for wesnoth-1.12-server. (Closes: #780854)
     - Add build-depends on dh-systemd (>= 1.5).
   * Fix spurious update-rc.d warnings. (Closes: #783598)
+  * Fixup nolog script. (Closes: #783600)
 
  -- Vincent Cheng <vcheng at debian.org>  Tue, 28 Apr 2015 01:50:44 -0700
 
diff --git a/debian/wesnoth-1.12-nolog b/debian/wesnoth-1.12-nolog
index c811879..edfa19b 100644
--- a/debian/wesnoth-1.12-nolog
+++ b/debian/wesnoth-1.12-nolog
@@ -3,4 +3,4 @@
 # copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
 # Licenced under WTFPLv2
 
-$(echo $0 | sed -e s/-nolog$//) $* > /dev/null 2> /dev/null
+exec wesnoth-1.12 "$@" >/dev/null 2>&1
diff --git a/debian/wesnoth-BRANCH-nolog.in b/debian/wesnoth-BRANCH-nolog.in
index c811879..3b8dde0 100644
--- a/debian/wesnoth-BRANCH-nolog.in
+++ b/debian/wesnoth-BRANCH-nolog.in
@@ -3,4 +3,4 @@
 # copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
 # Licenced under WTFPLv2
 
-$(echo $0 | sed -e s/-nolog$//) $* > /dev/null 2> /dev/null
+exec wesnoth-BRANCH "$@" >/dev/null 2>&1

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



More information about the Pkg-games-commits mailing list