diff options
Diffstat (limited to 'src/engine/SCons/Tool/pdftex.py')
-rw-r--r-- | src/engine/SCons/Tool/pdftex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/pdftex.py b/src/engine/SCons/Tool/pdftex.py index f7dc60c..2d538b7 100644 --- a/src/engine/SCons/Tool/pdftex.py +++ b/src/engine/SCons/Tool/pdftex.py @@ -49,5 +49,5 @@ def generate(env, platform): env['PDFTEXFLAGS'] = '' env['PDFTEXCOM'] = '$PDFTEX $PDFTEXFLAGS $SOURCES $TARGET' -def exists(): - return SCons.Util.WhereIs('pdftex') +def exists(env): + return SCons.Util.Detect(['pdftex'], env) |