commit | 9c93a69335117c7e54c8962d3adc7e17a695f1b0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Apr 28 16:03:03 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Apr 28 16:03:03 1998 +0000 |
tree | 6cd14d9b72a95ea09b991f0535a8b1563db455fa | |
parent | 50cc04ee032f80133bef406eb564c6371a2f1d06 [diff] |
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