diff options
Diffstat (limited to 'test/DVIPS.py')
-rw-r--r-- | test/DVIPS.py | 6 |
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') |