Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sun, 15 Sep 2002 12:10:35 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Installing cygwin-mketc.sh In-Reply-To: <3D8452A8.FA2C2251@pajhome.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-684387517-1032106235=:21486" ---559023410-684387517-1032106235=:21486 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 cygwin-mketc.sh 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 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. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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 ---559023410-684387517-1032106235=:21486 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="cygwin-mketc.sh" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="cygwin-mketc.sh" IyEvYmluL3NoDQojLS0NCiMgQ3JlYXRlIHN5bWJvbGljIGxpbmtzIGZyb20g c29tZSAvZXRjIGZpbGVzIHRvIHRoZSBXaW5kb3dzIGVxdWl2YWxlbnRzDQoj LS0NCg0KRklMRVM9Imhvc3RzIHByb3RvY29scyBzZXJ2aWNlcyBuZXR3b3Jr cyINCg0KT1NOQU1FPSJgL2Jpbi91bmFtZSAtc2AiDQpXSU5IT01FPSJgL2Jp bi9jeWdwYXRoIC1XYCINCg0KQ1lHV0lOPSIkQ1lHV0lOIGNoZWNrX2Nhc2U6 cmVsYXhlZCINCmV4cG9ydCBDWUdXSU4NCg0KY2FzZSAiJE9TTkFNRSIgaW4N CiAgQ1lHV0lOX05UKikgV0lORVRDPSIkV0lOSE9NRS9zeXN0ZW0zMi9kcml2 ZXJzL2V0YyIgOzsNCiAgQ1lHV0lOXzkqfENZR1dJTl9NRSopIFdJTkVUQz0i JFdJTkhPTUUiIDs7DQogICopIA0KICAgIGVjaG8gIlVua25vd24gc3lzdGVt IHR5cGUgJE9TTkFNRTsgZXhpdGluZyIgPiYyDQogICAgZXhpdCAwDQogIDs7 DQplc2FjDQoNCldJTkVUQz0iJCgvYmluL2N5Z3BhdGggLXUgIiQoL2Jpbi9j eWdwYXRoIC13IC1sICIkV0lORVRDIikiKSINCmlmIFsgISAtZCAiJFdJTkVU QyIgXQ0KdGhlbg0KICBlY2hvICJEaXJlY3RvcnkgJFdJTkVUQyBkb2VzIG5v dCBleGlzdDsgZXhpdGluZyIgPiYyDQogIGV4aXQgMA0KZmkNCg0KZm9yIEZJ TEUgaW4gJEZJTEVTDQpkbw0KICBpZiBbICEgLWUgIi9ldGMvJEZJTEUiIC1h ICEgLUwgIi9ldGMvJEZJTEUiIF0NCiAgdGhlbg0KICAgICMgV2luZG93cyBv bmx5IHVzZXMgdGhlIGZpcnN0IDggY2hhcmFjdGVycw0KICAgIFdGSUxFPSIk V0lORVRDL2BleHByIHN1YnN0ciAiJEZJTEUiIDEgOGAiDQogICAgV0ZJTEU9 IiQoL2Jpbi9jeWdwYXRoIC11ICIkKC9iaW4vY3lncGF0aCAtdyAtbCAiJFdG SUxFIikiKSINCiAgICAvYmluL2xuIC1zIC12ICIkV0ZJTEUiICIvZXRjLyRG SUxFIg0KICBmaQ0KZG9uZQ0KDQoNCg0K ---559023410-684387517-1032106235=:21486 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="cygwin-mketc.sh-0.11-diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="cygwin-mketc.sh-0.11-diff" LS0tIGN5Z3dpbi1ta2V0Yy5zaC0wLjEwLjEJMjAwMi0wOS0xNSAwNToyMToz MC4wMDAwMDAwMDAgLTA0MDANCisrKyBjeWd3aW4tbWtldGMuc2gJMjAwMi0w OS0xNSAxMjowNzowNS4wMDAwMDAwMDAgLTA0MDANCkBAIC04LDYgKzgsOSBA QCBGSUxFUz0iaG9zdHMgcHJvdG9jb2xzIHNlcnZpY2VzIG5ldHdvcmtzDQog T1NOQU1FPSJgL2Jpbi91bmFtZSAtc2AiDQogV0lOSE9NRT0iYC9iaW4vY3ln cGF0aCAtV2AiDQogDQorQ1lHV0lOPSIkQ1lHV0lOIGNoZWNrX2Nhc2U6cmVs YXhlZCINCitleHBvcnQgQ1lHV0lODQorDQogY2FzZSAiJE9TTkFNRSIgaW4N CiAgIENZR1dJTl9OVCopIFdJTkVUQz0iJFdJTkhPTUUvc3lzdGVtMzIvZHJp dmVycy9ldGMiIDs7DQogICBDWUdXSU5fOSp8Q1lHV0lOX01FKikgV0lORVRD PSIkV0lOSE9NRSIgOzsNCg== ---559023410-684387517-1032106235=:21486 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ---559023410-684387517-1032106235=:21486--