This is the mail archive of the 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 package needs a maintainer

On Sun, Feb 24, 2002 at 10:48:17PM +1100, Robert Collins wrote:
>----- Original Message -----
>From: "Michael A Chase" <>
>> > I did try it yes, whats the problem?
>> if [ ! -f "/etc/[profile" ]; then
>>   cp -a /etc/profile.default /etc/profile
>> fi
>> At some point, an extra '[' attached itself to the front of profile.
>Chris, do you need another tarball, or can you correct it yourself? I'd
>like to remove the profile generation code from HEAD, now that we've
>branched, and it would be neat to have the package extant so that HEAD
>is still useable.

Wow, I had to go back through the archives to see what you were talking
about.  This is an old thread.

I guess I can fix this myself.

I can add this to the "repository" but how should it be handled?  Should
there be a new "base-files" package that bash relies on?  Or should everyone
rely on it?  Having awk rely on a package which only creates /etc/profile
seems wrong.  In that case, it shouldn't be called base-files, should it?
Maybe it should be called something like "shell-init" or something.

But then does ash actually read /etc/profile?

I can see that there was some discussion of this, which was eventually
dropped.  Michael Chase raised the same issue as the above and Chuck
mentioned that this package might grow to do "more stuff" later.

I guess I'll respond to that message.


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