diff options
author | Steven Knight <knight@baldmt.com> | 2003-04-26 13:02:02 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-04-26 13:02:02 (GMT) |
commit | a925fbfbbecd978b6275ba0592e3bd21b0bd7781 (patch) | |
tree | 292853eb221ebe82c9e9b47c03c74b78a155add0 /test/PDFTEXFLAGS.py | |
parent | dbb26a739bda888c1b7e206dbf6753ebadc68ebc (diff) | |
download | SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.zip SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.gz SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.bz2 |
Portability fixes for test. (Chad Austin)
Diffstat (limited to 'test/PDFTEXFLAGS.py')
-rw-r--r-- | test/PDFTEXFLAGS.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/PDFTEXFLAGS.py b/test/PDFTEXFLAGS.py index fe1f5fc..fb1fbf0 100644 --- a/test/PDFTEXFLAGS.py +++ b/test/PDFTEXFLAGS.py @@ -81,9 +81,11 @@ os.system(string.join(sys.argv[1:], " ")) """ % string.replace(test.workpath('wrapper.out'), '\\', '\\\\')) test.write('SConstruct', """ -foo = Environment(PDFTEXFLAGS = '--output-comment Commentary') +import os +ENV = { 'PATH' : os.environ['PATH'] } +foo = Environment(ENV = ENV, PDFTEXFLAGS = '--output-comment Commentary') 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) |