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: Detecting text type in a shell script

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
>if [ ${cygwin-unix-type} eq "true" ]; then
>        proceed();
>        bail();
>How can I detect what text type was chosen at install time? (So that I
>can appropriately set/unset my cygwin-unix-type variable.)

   Has it occurred to you that a better solution might be to fix your software so that it works properly with text mounts?

The NEW Netscape 7.0 browser is now available. Upgrade now! 

Get your own FREE, personal Netscape Mail account today at

Unsubscribe info:
Bug reporting:

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