[game-data-packager] 02/03: make-template: pickup a sensible package name for "gdp make-template ."

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Apr 24 10:01:34 UTC 2015


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 d987098a2a7b1b304338c7d51fc65517166d5e8c
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Apr 24 11:52:19 2015 +0200

    make-template: pickup a sensible package name for "gdp make-template ."
---
 game_data_packager/make_template.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index 2372c6d..c717574 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -55,7 +55,7 @@ def is_dosbox(file):
 def do_one_dir(destdir,lower):
     data = dict()
     files = dict(files={})
-    game = os.path.basename(destdir)
+    game = os.path.basename(os.path.abspath(destdir))
     if game.endswith('-data'):
         game = game[:len(game) - 5]
 

-- 
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