def _add_to_path_envvar(directory):
    orig_path = os.environ.get('PATH', '')
    if directory:
        if not os.path.isdir(directory):
            log.error('The given parameter is not a directory')

        os.environ['PATH'] = '{0}{1}{2}'.format(orig_path,
                                                os.pathsep,
                                                directory)
    return orig_path
Returns true iff this tag has the same name, the same attributes,
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_add_to_path_envvar--crossover with--dataset/ETHPy150Open socketubs/pyhn/pyhn/lib/bs4_py3/element.py/Tag.__eq__