From 9b136bc7f79129661f48212650a60f0d74929ff9 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Sat, 19 Dec 2009 21:44:10 +0000 Subject: [PATCH] Strip 1st part of path of the tar files on extraction. git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3744 4b5297f7-1745-476d-ba37-a9c6900126ab --- gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.py b/gen.py index 32adfa9b..7bfb9207 100755 --- a/gen.py +++ b/gen.py @@ -259,7 +259,7 @@ def makeBundle(): print "Creating the bundle...", executeCommand("mkdir /tmp/xepbundle") executeCommand("cp " + XEPPATH + "/*.pdf " + "/tmp/xepbundle") - executeCommand("tar -cf /tmp/xepbundle.tar /tmp/xepbundle") + executeCommand("tar --strip 1 -cf /tmp/xepbundle.tar /tmp/xepbundle") executeCommand("pbzip2 -f -9 /tmp/xepbundle.tar") executeCommand("mv -f /tmp/xepbundle.tar.bz2 " + XEPPATH + "/xepbundle.tar.bz2") executeCommand("rm -rfd /tmp/xepbundle")