def install_script(path):
    """ Install bash acmd completion script. """
    template = pkg_resources.resource_string('acmd', "data/acmd.bash_completion")
    target_path = os.path.join(path, 'acmd')
    if os.path.isfile(target_path):
        acmd.warning("Overwriting bash completion at {}".format(target_path))
    with open(target_path, 'wb') as target:
        target.write(template)
    if 4 < _get_bash_version():
        acmd.warning("acmd bash completion works better with bash 4.")
        if _is_mac():
            acmd.warning("    tip: http://johndjameson.com/blog/updating-your-shell-with-homebrew/")
dataset/ETHPy150Open bjorns/aem-cmd/acmd/deploy.py/install_script/swapped operands of `<`