summaryrefslogtreecommitdiffstats
path: root/test/PDFTEX.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/PDFTEX.py')
-rw-r--r--test/PDFTEX.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/PDFTEX.py b/test/PDFTEX.py
index e21c8c6..2015c33 100644
--- a/test/PDFTEX.py
+++ b/test/PDFTEX.py
@@ -75,9 +75,11 @@ os.system(string.join(sys.argv[1:], " "))
""" % string.replace(test.workpath('wrapper.out'), '\\', '\\\\'))
test.write('SConstruct', """
-foo = Environment()
+import os
+ENV = { 'PATH' : os.environ['PATH'] }
+foo = Environment(ENV = ENV)
pdftex = foo.Dictionary('PDFTEX')
-bar = Environment(PDFTEX = r'%s wrapper.py ' + pdftex)
+bar = Environment(ENV = ENV, PDFTEX = r'%s wrapper.py ' + pdftex)
foo.PDF(target = 'foo.pdf', source = 'foo.tex')
bar.PDF(target = 'bar', source = 'bar.tex')
""" % python)