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
This commit is contained in:
Tobias Markmann 2009-12-19 21:44:10 +00:00
parent 79d4efc0b2
commit 9b136bc7f7
1 changed files with 1 additions and 1 deletions

2
gen.py
View File

@ -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")