def _get_export_line(env_var, value):
  """Create a line of text to set an environment variable in bash.

  Args:
    env_var: The name of the environment variable to set
    value: The value to set env_var to.

  Returns:
    A string which sets env_var to value in bash.
  """
  line = "export %s='%s'" % (env_var, value)
  return line