This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: base-files (/etc/profile.d) issue


Thanks Igor,

It's already been fixed, the only thing that's been holding
up a new release is this mk[passwd|group|group_l_d] stuff :|

I think it's OK now, am going to package it up (hopefully) today.

J.

On Mon, 1 Sep 2003, Igor Pechtchanski wrote:

> John,
>
> A '/bin/find: /etc/profile.d: No such file or directory.' error was just
> reported in <http://cygwin.com/ml/cygwin/2003-09/msg00061.html> on the
> main Cygwin list.  This means that the directory didn't get created, and
> /etc/profile doesn't check for its existence before running find (the
> previous syntax, 'for i in /etc/profile.d/*.sh', didn't have this
> problem).
>
> There are two solutions for this: a quick one is to include /etc/profile.d
> into the tarball of the base-files package (so it always exists), and the
> right one is to add an 'if [ -d /etc/profile.d ]; then ... fi' check
> around the find invocation (there's no reason you can't do both, BTW).
> 	Igor
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]