This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated base-files-4.0-6
- From: Cyrille Lefevre <cyrille dot lefevre-lists at laposte dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 31 Mar 2011 01:53:56 +0200
- Subject: Re: [ANNOUNCEMENT] Updated base-files-4.0-6
- References: <announce.20110318184505.GG10633@jethro.local.lan>
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