summaryrefslogtreecommitdiff
path: root/pkg/wince
diff options
context:
space:
mode:
authorSimon Howard2009-06-21 19:03:38 +0000
committerSimon Howard2009-06-21 19:03:38 +0000
commit48f39f1ee566051d8084827fd31b8cd99c8570d6 (patch)
tree380aabb87a5b371ef8dd9ce6fcc4d681c8552ffd /pkg/wince
parentd131bab501c6d705b6449852d8271dde20245ddd (diff)
downloadchocolate-doom-48f39f1ee566051d8084827fd31b8cd99c8570d6.tar.gz
chocolate-doom-48f39f1ee566051d8084827fd31b8cd99c8570d6.tar.bz2
chocolate-doom-48f39f1ee566051d8084827fd31b8cd99c8570d6.zip
Remove temporary files after generating CAB file.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1605
Diffstat (limited to 'pkg/wince')
-rwxr-xr-xpkg/wince/wince-cabgen6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/wince/wince-cabgen b/pkg/wince/wince-cabgen
index 2b901f87..e8820d8c 100755
--- a/pkg/wince/wince-cabgen
+++ b/pkg/wince/wince-cabgen
@@ -610,6 +610,12 @@ class CabFile:
os.spawnlp(os.P_WAIT, "lcab", *args)
+ # Clean up:
+
+ for tmpfile in header + files:
+ os.remove(tmpfile)
+ os.rmdir(temp_dir)
+
def expand_path(filename):
# Replace Unix-style / path separators with DOS-style \