def METHOD_NAME():
    if defs.latex_preexec_hook is not None:
        defs.latex_preexec_hook()
    inputs.extend(p for p in os.environ.get('TEXINPUTS', '').split(':') if p not in ['.', ''])
    if inputs:
        os.environ['TEXINPUTS'] = ':'.join(['.'] + inputs + [''])