summaryrefslogtreecommitdiff
path: root/pkg/wince
diff options
context:
space:
mode:
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 \