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

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Sat Jun 25 09:38:52 EDT 2011


Dave Reisner, 2011-06-25 15:27:
> 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
>
Yes, that's a bit strange. When trying in a terminal it works without, 
but when actually booting it doesn't. Maybe some BASH bug?
--
Kurt


More information about the arch-projects mailing list