grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] move functionality of font_path() directly to util/grub-mkco


From: Robert Millan
Subject: Re: [PATCH] move functionality of font_path() directly to util/grub-mkconfig.in and prefer unicode.pf2 over ascii.pf2
Date: Fri, 7 Aug 2009 13:39:28 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Aug 06, 2009 at 11:39:11AM +0200, Felix Zielcke wrote:
> +    for dir in ${pkgdatadir} /boot/grub /usr/share/grub ; do
> +      for basename in unicode unifont ascii; do
> +     path="${dir}/${basename}.pf2"
> +        if is_path_readable_by_grub ${path} > /dev/null ; then
> +       GRUB_FONT_PATH=${path}
> +     else
> +       continue
> +     fi
> +     if [ "${basename}" = "ascii"] ; then
> +       # make sure all our children behave in conformance with ascii..
> +       export LANG=C
> +     fi
> +     break 2
> +      done
> +    done
> +      if [ -z "${GRUB_FONT_PATH}" ] ; then
> +        # fallback to the native terminal for this platform
> +        unset GRUB_TERMINAL_OUTPUT
> +      fi
>      fi
>    ;;
> -esac
> -
> -# does our terminal support utf-8 ?
> -case ${GRUB_TERMINAL_OUTPUT} in
> -  gfxterm) ;;
>    *)
>      # make sure all our children behave in conformance with ascii..
>      export LANG=C
> -  ;;
>  esac

It seems that "export LANG=C" is issued twice?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]