On Tue, 10 Nov 2009 12:10:13 +0100
Lise Didillon <ldidil...@prologue.fr> wrote:

> Package:  ldapscripts
> Version 1.9.0-1
> 
> when I execute lsldap I receive the following warning:
> # lsldap
> Warning : 'echo' or '[' (test) is not built-in, ldapscripts may not
> be safe
> 
> it's only because the "type" command return a french message ("echo
> est une primitive du shell")  not an engish message ("echo is a shell 
> builtin") in the call:
> if  is_builtin "echo" && is_builtin "["         in 
> /usr/share/ldapscripts/runtime
> 
> is_builtin () {
>     type "$1" 2>/dev/null |grep -qi 'built'
> }
> if you replace by:
> type -t $1 2>/dev/null |grep -qi built
> this make the same test but will resolve the localization problem
> 
Thanks for detailed report I'll take a look on it.

-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    g...@cs.msu.su             Jabber:  g...@jabber.ru
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1

Attachment: signature.asc
Description: PGP signature

Reply via email to