Put quotes around the filename, so spaces in filenames work.
(Jack)
diff --git a/Lib/lib-old/packmail.py b/Lib/lib-old/packmail.py
index 13b1bdc..4541c51 100644
--- a/Lib/lib-old/packmail.py
+++ b/Lib/lib-old/packmail.py
@@ -21,7 +21,7 @@
def pack(outfp, file, name):
fp = open(file, 'r')
outfp.write('echo ' + name + '\n')
- outfp.write('sed "s/^X//" >' + name + ' <<"!"\n')
+ outfp.write('sed "s/^X//" >"' + name + '" <<"!"\n')
while 1:
line = fp.readline()
if not line: break
diff --git a/Lib/packmail.py b/Lib/packmail.py
index 13b1bdc..4541c51 100644
--- a/Lib/packmail.py
+++ b/Lib/packmail.py
@@ -21,7 +21,7 @@
def pack(outfp, file, name):
fp = open(file, 'r')
outfp.write('echo ' + name + '\n')
- outfp.write('sed "s/^X//" >' + name + ' <<"!"\n')
+ outfp.write('sed "s/^X//" >"' + name + '" <<"!"\n')
while 1:
line = fp.readline()
if not line: break