mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-22 07:38:52 -05:00
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:
parent
79d4efc0b2
commit
9b136bc7f7
2
gen.py
2
gen.py
@ -259,7 +259,7 @@ def makeBundle():
|
|||||||
print "Creating the bundle...",
|
print "Creating the bundle...",
|
||||||
executeCommand("mkdir /tmp/xepbundle")
|
executeCommand("mkdir /tmp/xepbundle")
|
||||||
executeCommand("cp " + XEPPATH + "/*.pdf " + "/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("pbzip2 -f -9 /tmp/xepbundle.tar")
|
||||||
executeCommand("mv -f /tmp/xepbundle.tar.bz2 " + XEPPATH + "/xepbundle.tar.bz2")
|
executeCommand("mv -f /tmp/xepbundle.tar.bz2 " + XEPPATH + "/xepbundle.tar.bz2")
|
||||||
executeCommand("rm -rfd /tmp/xepbundle")
|
executeCommand("rm -rfd /tmp/xepbundle")
|
||||||
|
Loading…
Reference in New Issue
Block a user