[game-data-packager] 01/01: make ppa script run on any host
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Tue Dec 26 19:15:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit 2deda2711e64fa7cb2dffe167a34032360d42b34
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Tue Dec 26 20:15:00 2017 +0100
make ppa script run on any host
---
tools/ppa.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tools/ppa.py b/tools/ppa.py
index 354a7a3..64ba712 100755
--- a/tools/ppa.py
+++ b/tools/ppa.py
@@ -22,8 +22,11 @@ import time
today = time.strftime('%Y%m%d')
-BASE = '/home/tchet/git'
-GDP = os.path.join(BASE, 'game-data-packager')
+#BASE = '/home/tchet/git'
+#GDP = os.path.join(BASE, 'game-data-packager')
+
+GDP = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
+BASE = os.path.dirname(GDP)
subprocess.check_call(['rm', '-rvf', 'ref.zip'],
cwd = GDP)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list