[SCM] templates for different package types branch, master, updated. e2acb0bbafb95a7a12024439b203979b82f6d0cd
Miriam Ruiz
miriam at debian.org
Mon May 18 19:55:25 UTC 2009
The following commit has been merged in the master branch:
commit e2acb0bbafb95a7a12024439b203979b82f6d0cd
Author: Miriam Ruiz <miriam at debian.org>
Date: Mon May 18 22:01:35 2009 +0200
Remove bashism
diff --git a/model/python/run.sh b/model/python/run.sh
index fccacaf..287ced2 100644
--- a/model/python/run.sh
+++ b/model/python/run.sh
@@ -1,5 +1,6 @@
#!/bin/sh --
-pushd /usr/share/%PACKAGE%/ > /dev/null
+OLD_DIR="`pwd`"
+cd "/usr/share/%PACKAGE%/"
python %PACKAGE%.py "$@"
-popd > /dev/null
+cd "$OLD_DIR"
--
templates for different package types
More information about the Pkg-games-commits
mailing list