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: Installing

On Sun, 15 Sep 2002, Paul Johnston wrote:

> Hi,
> How does cygwin install decide where to put files? I was expecting some kind
> of map file mapping object files to installed files, but I couldn't find one.
> I can see we want to end up in configure's $sysconfdir but
> beyond that I'm just getting lost
> > I've attached the message correction.  If this is really part of cygwin,
> > please take it out altogether, along with the translation of $WINETC.
> Ok, I've taken out the message, but NOT the case translation of $WINETC. The
> case translation must be done before the directory existence check, or the
> check might fail. I think this has got to be the final version of the code
> now.
> Paul

The real reason we need the case translation is for the links is that if
the user doesn't have "check_case:strict" when installing, but later sets
it, the links will still work.

If "check_case:strict" is in effect, the case translation will fail
anyway.  And if it's not in effect, then the directory existence check
will succeed as well.  So the translation is redundant.  But it doesn't
hurt (maybe slows the script down a bit), and in a post-install script
performance is not an issue, so let's leave it in.

However, this reminds me - we had to turn off "check_case:strict" for the
duration of the script for it to work at all with non-standard file and
directory cases!  Something like

  CYGWIN="$CYGWIN check_case:relaxed"; export CYGWIN

I meant to do this one, but completely forgot.  New version attached.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51

Description: Text document

Description: Text document

Unsubscribe info:
Bug reporting:

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