summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-07 04:08:04 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-07 04:08:04 (GMT)
commit31d53ed93c82419a9b640daa86d162a6edcdc129 (patch)
treee418602561bb547a70d53fe2ace7f9d0bdedd6cb /Tools/freeze
parent6663b221984e9f0e30950f13343223d7d2873342 (diff)
downloadcpython-31d53ed93c82419a9b640daa86d162a6edcdc129.zip
cpython-31d53ed93c82419a9b640daa86d162a6edcdc129.tar.gz
cpython-31d53ed93c82419a9b640daa86d162a6edcdc129.tar.bz2
When writing the Windows Makefile, don't forget to strip some filenames
of their output directory prefix.
Diffstat (limited to 'Tools/freeze')
-rwxr-xr-xTools/freeze/freeze.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index c0b5e54..3b58243 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -287,8 +287,9 @@ def main():
try:
winmakemakefile.makemakefile(outfp,
locals(),
- [frozenmain_c, frozen_c],
- target)
+ [frozenmain_c,
+ os.path.basename(frozen_c)],
+ os.path.basename(target))
finally:
outfp.close()
return