diff options
author | Guido van Rossum <guido@python.org> | 1998-04-28 16:03:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-28 16:03:03 (GMT) |
commit | 9c93a69335117c7e54c8962d3adc7e17a695f1b0 (patch) | |
tree | 6cd14d9b72a95ea09b991f0535a8b1563db455fa /Lib/packmail.py | |
parent | 50cc04ee032f80133bef406eb564c6371a2f1d06 (diff) | |
download | cpython-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/packmail.py')
-rw-r--r-- | Lib/packmail.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |