summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-28 16:03:03 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-28 16:03:03 (GMT)
commit9c93a69335117c7e54c8962d3adc7e17a695f1b0 (patch)
tree6cd14d9b72a95ea09b991f0535a8b1563db455fa /Lib/lib-old
parent50cc04ee032f80133bef406eb564c6371a2f1d06 (diff)
downloadcpython-9c93a69335117c7e54c8962d3adc7e17a695f1b0.zip
cpython-9c93a69335117c7e54c8962d3adc7e17a695f1b0.tar.gz
cpython-9c93a69335117c7e54c8962d3adc7e17a695f1b0.tar.bz2
Put quotes around the filename, so spaces in filenames work.
(Jack)
Diffstat (limited to 'Lib/lib-old')
-rw-r--r--Lib/lib-old/packmail.py2
1 files changed, 1 insertions, 1 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