1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

The user putting stuff in tmp should clean it up.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3641 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Tobias Markmann 2009-11-18 18:24:19 +00:00
parent 09aa17b952
commit 196204a18e

3
gen.py
View File

@ -321,7 +321,6 @@ def main(argv):
last_build = loadDict(CONFIGPATH + "/xepbuild.dict")
commands.getstatusoutput("rm -rfd /tmp/xepbuilder")
commands.getstatusoutput("mkdir /tmp/xepbuilder")
commands.getstatusoutput("cp ../images/xmpp.pdf /tmp/xepbuilder/xmpp.pdf")
commands.getstatusoutput("cp ../images/xmpp-text.pdf /tmp/xepbuilder/xmpp-text.pdf")
@ -333,6 +332,8 @@ def main(argv):
commands.getstatusoutput("sed -e '1s/<?[^?]*?>//' " + CONFIGPATH + "/extensions.xml > " + XEPPATH + "/../includes/xeplist.txt")
commands.getstatusoutput("rm -rfd /tmp/xepbuilder")
saveDict(CONFIGPATH + "/xepbuild.dict", last_build)
if __name__ == "__main__":