summaryrefslogtreecommitdiffstats
path: root/test/GSFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/GSFLAGS.py')
-rw-r--r--test/GSFLAGS.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/GSFLAGS.py b/test/GSFLAGS.py
index 2ea02a9..114d5c9 100644
--- a/test/GSFLAGS.py
+++ b/test/GSFLAGS.py
@@ -92,7 +92,9 @@ 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)
foo.Append(GSFLAGS = ' -q')
foo.PDF(target = 'foo.pdf', source = 'foo.ps')
""")