[game-data-packager] 08/13: lgeneral: only extract the directory we're going to work on

Simon McVittie smcv at debian.org
Sun Jan 4 22:36:20 UTC 2015


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

smcv pushed a commit to branch master
in repository game-data-packager.

commit 92c6f740e958e3b5547c875dee7f7568dba92601
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 4 21:04:30 2015 +0000

    lgeneral: only extract the directory we're going to work on
    
    This avoids getting unexpected files turning up in $WORKDIR.
---
 supported/lgeneral | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/supported/lgeneral b/supported/lgeneral
index b7fc74e..3946fae 100644
--- a/supported/lgeneral
+++ b/supported/lgeneral
@@ -89,7 +89,7 @@ go() {
              lgeneral/units
 
     # extract pg-data and convert to lgeneral's native file format
-    tar xfz "$TGZFILE"
+    tar xfz "$TGZFILE" pg-data
     lgc-pg -s pg-data/ -d lgeneral/
     
     slipstream_dir "$OUTFILE" "usr/share/games/" "lgeneral/"

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