delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <00e101c2cdf8$79490fd0$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | "Nicolas Christin" <nicolas AT cs DOT virginia DOT edu>, <cygwin AT cygwin DOT com> |
References: | <Pine DOT GSO DOT 4 DOT 53 DOT 0302061048490 DOT 1087 AT arachnion DOT cs DOT Virginia DOT EDU> |
Subject: | Re: Detecting text type in a shell script |
Date: | Thu, 6 Feb 2003 15:57:38 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Nicolas Christin wrote: > I have been looking into the mailing-list archives and the manual but > could not find any answer to the following problem, which will > certainly sound trivial. I am release-engineering some software > developed under Unix. The thing installs just fine under Cygwin when > the "UNIX file" text type has been selected at installation type but > breaks if the "DOS file" text type has been selected. So, what I > would want to have in the ./install of the package I am > release-enginering is something of the form: > > #!/bin/sh > > if [ ${cygwin-unix-type} eq "true" ]; then > proceed(); > else > bail(); > fi; > > How can I detect what text type was chosen at install time? (So that I > can appropriately set/unset my cygwin-unix-type variable.) > > Again, if this is something that has already asked and answered, I > apologize, I just didn't find it. Please feel free to redirect me to > the appropriate documentation. man mount Max. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |