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

John Morrison john@morrison.mine.nu
Tue Sep 2 07:26:00 GMT 2003


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
>



More information about the Cygwin-apps mailing list