[arch-projects] [initscripts] [PATCH] Setting Locale: fix status reporting FAIL erroneously

Dave Reisner d at falconindy.com
Sat Jun 25 09:27:58 EDT 2011


On Sat, Jun 25, 2011 at 03:17:40PM +0200, Kurt J. Bosch wrote:
> From: "Kurt J. Bosch" <kjb-temp-2009 at alpenjodel.de>
> 
> ---
>  rc.sysinit |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/rc.sysinit b/rc.sysinit
> index 4073fb9..75f8095 100755
> --- a/rc.sysinit
> +++ b/rc.sysinit
> @@ -229,7 +229,7 @@ stat_done
> 
>  # Flush old locale settings and set user defined locale
>  status "Setting Locale: ${LOCALE:=en_US}" \
> -	install -Tm 0755 <(echo "export LANG=$LOCALE") /etc/profile.d/locale.sh
> +	eval 'install -Tm 0755 <(echo "export LANG=$LOCALE") /etc/profile.d/locale.sh'
> 
>  if [[ ${LOCALE,,} =~ utf ]]; then
>  	stat_busy "Setting Consoles to UTF-8 mode"
> --
> 1.7.5.2
> 

NACK.

As far as I can tell, the eval is not at all necessary.

dave



More information about the arch-projects mailing list