summaryrefslogtreecommitdiffstats
path: root/test/DVIPS.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-26 13:02:02 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-26 13:02:02 (GMT)
commita925fbfbbecd978b6275ba0592e3bd21b0bd7781 (patch)
tree292853eb221ebe82c9e9b47c03c74b78a155add0 /test/DVIPS.py
parentdbb26a739bda888c1b7e206dbf6753ebadc68ebc (diff)
downloadSCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.zip
SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.gz
SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.bz2
Portability fixes for test. (Chad Austin)
Diffstat (limited to 'test/DVIPS.py')
-rw-r--r--test/DVIPS.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/DVIPS.py b/test/DVIPS.py
index aa5750e..2ae856a 100644
--- a/test/DVIPS.py
+++ b/test/DVIPS.py
@@ -128,9 +128,11 @@ os.system(cmd)
""" % string.replace(test.workpath('wrapper.out'), '\\', '\\\\'))
test.write('SConstruct', """
-foo = Environment()
+import os
+ENV = { 'PATH' : os.environ['PATH'] }
+foo = Environment(ENV = ENV)
dvips = foo.Dictionary('DVIPS')
-bar = Environment(DVIPS = r'%s wrapper.py ' + dvips)
+bar = Environment(ENV = ENV, DVIPS = r'%s wrapper.py ' + dvips)
foo.PostScript(target = 'foo.ps', source = 'foo.tex')
bar.PostScript(target = 'bar1', source = 'bar1.tex')
bar.PostScript(target = 'bar2', source = 'bar2.ltx')