Permalink
Browse files

Fix bdist_wininst_arch task on win32.

(cherry picked from commit 5a0c61ea9da2077c5dc08daaa92ab4ca9d14d430)
  • Loading branch information...
1 parent d506900 commit 16a9d2047d60589effd64808861950bae08d8994 @cournape cournape committed Jun 3, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 pavement.py
View
@@ -286,7 +286,10 @@ def bdist_wininst_arch(pyver, arch, scratch=True):
if not os.path.exists(SUPERPACK_BINDIR):
os.makedirs(SUPERPACK_BINDIR)
- _bdist_wininst(pyver, SITECFG[arch])
+ env = os.environ.copy()
+ for k, v in SITECFG[arch].items():
+ env[k] = v
+ _bdist_wininst(pyver, env)
source = os.path.join('dist', wininst_name(pyver))
target = os.path.join(SUPERPACK_BINDIR, internal_wininst_name(arch))
if os.path.exists(target):

0 comments on commit 16a9d20

Please sign in to comment.