summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/archive_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/archive_util.py b/Lib/distutils/archive_util.py
index 050ea41..218450a 100644
--- a/Lib/distutils/archive_util.py
+++ b/Lib/distutils/archive_util.py
@@ -93,7 +93,7 @@ def make_zipfile (base_name, base_dir, verbose=0, dry_run=0):
def visit (z, dirname, names):
for name in names:
- path = os.path.join (dirname, name)
+ path = os.path.normpath(os.path.join(dirname, name))
if os.path.isfile (path):
z.write (path, path)