1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-22 09:12:19 -05:00

Extract to xepbundle instead of tmp/xepbundle.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3745 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Tobias Markmann 2009-12-21 15:36:01 +00:00
parent 9b136bc7f7
commit c0481d7664

2
gen.py
View File

@ -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 --strip 1 -cf /tmp/xepbundle.tar /tmp/xepbundle") executeCommand("tar -cf /tmp/xepbundle.tar -C /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")