[SCM] templates for different package types branch, master, updated. 235b08574aa83052a79cbeafec790ee4b45f78ef

Miriam Ruiz miriam at debian.org
Mon May 18 19:26:50 UTC 2009


The following commit has been merged in the master branch:
commit 235b08574aa83052a79cbeafec790ee4b45f78ef
Author: Miriam Ruiz <miriam at debian.org>
Date:   Mon May 18 21:32:57 2009 +0200

    Fix shell script for starting Python programs, so that they return to the original directory afterwards

diff --git a/model/python/run.sh b/model/python/run.sh
index 67bd433..fccacaf 100644
--- a/model/python/run.sh
+++ b/model/python/run.sh
@@ -1,4 +1,5 @@
 #!/bin/sh --
 
-cd /usr/share/%PACKAGE%/
+pushd /usr/share/%PACKAGE%/ > /dev/null
 python %PACKAGE%.py "$@"
+popd > /dev/null

-- 
templates for different package types



More information about the Pkg-games-commits mailing list