summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib-old/packmail.py2
-rw-r--r--Lib/packmail.py2
2 files changed, 2 insertions, 2 deletions
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 help():
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 help():
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