Modify

Opened 8 years ago

Closed 8 years ago

#2926 closed defect (fixed)

getver.sh does not work on localized system

Reported by: bart dot polot at gmail dot com Owned by: developers
Priority: low Milestone:
Component: toolchain Version:
Keywords: getver.sh Cc:

Description

On a spanish localized system getver.sh returns "unknown", due to wrong un-localization. The script exports LANG=C, and it should be LC_ALL=C to work:

n0rdik0@pioneer ~/fonera/openwrt/kamikaze $ svn info
Ruta: .
URL: https://svn.openwrt.org/openwrt/trunk
Raíz del repositorio: https://svn.openwrt.org/openwrt
UUID del repositorio: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revisión: 10054
Tipo de nodo: directorio
Agendado: normal
Autor del último cambio: matteo
Revisión del último cambio: 10053
Fecha de último cambio: 2007-12-30 16:24:15 +0100 (dom, 30 dic 2007)

n0rdik0@pioneer ~/fonera/openwrt/kamikaze $ LANG=C svn info
Ruta: .
URL: https://svn.openwrt.org/openwrt/trunk
Raíz del repositorio: https://svn.openwrt.org/openwrt
UUID del repositorio: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revisión: 10054
Tipo de nodo: directorio
Agendado: normal
Autor del último cambio: matteo
Revisión del último cambio: 10053
Fecha de último cambio: 2007-12-30 16:24:15 +0100 (dom, 30 dic 2007)

n0rdik0@pioneer ~/fonera/openwrt/kamikaze $ LC_ALL=C svn info
Path: .
URL: https://svn.openwrt.org/openwrt/trunk
Repository Root: https://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 10054
Node Kind: directory
Schedule: normal
Last Changed Author: matteo
Last Changed Rev: 10053
Last Changed Date: 2007-12-30 16:24:15 +0100 (Sun, 30 Dec 2007)

As seen above, LANG=C doesn't change svn info output

Attachments (1)

getver.sh (517 bytes) - added by anonymous 8 years ago.
working version of getver.sh

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by anonymous

working version of getver.sh

comment:1 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [10059], thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.