[ANNOUNCEMENT] Updated base-files-4.0-6

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Thu Mar 31 00:09:00 GMT 2011


Le 18/03/2011 19:45, David Sastre a écrit :
> Version 4.0-6 of base-files has been uploaded.
>
> Base-files is a set of system configuration and setup files.

Hi,

would it be possible to change :

profile_d ()
{
   saved_LC_COLLATE=${LC_COLLATE}
   LC_COLLATE=C
   for file in /etc/profile.d/*.$1; do
     [ -e "${file}" ] && . "${file}"
   done
   LC_COLLATE=${saved_LC_COLLATE}
   unset saved_LC_COLLATE
}

to :

profile_d ()
{
   for file in $(export LC_COLLATE=C; echo /etc/profile.d/*.$1); do
     [ -e "${file}" ] && . "${file}"
   done
}

PS : LC_COLLATE has to be exported to be effective.

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list