'Configure an install environment.  Since this class is not used in the initial download stage,
no recipe step filtering is performed here, and None values are always returned for filtered_actions
and dir.'

def execute_step(self, tool_dependency, package_name, actions, action_dict, filtered_actions, env_file_builder, install_environment, work_dir, current_dir=None, initial_download=False):

    cmds = install_environment.environment_commands('set_environment')
    env_var_dicts = action_dict.get('environment_variable', [])
    root_dir_dict = dict(action='set_to', name=('%s_ROOT_DIR' % re.sub('[^A-Z0-9_]', '_', tool_dependency.name.upper())), value=install_environment.install_dir)
    env_var_dicts.append(root_dir_dict)
    for env_var_dict in env_var_dicts:
        env_var_dict = self.handle_environment_variables(install_environment=install_environment, tool_dependency=tool_dependency, env_var_dict=env_var_dict, set_prior_environment_commands=cmds)
        env_file_builder.append_line(**env_var_dict)
    return (tool_dependency, None, None)
