delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/09/01:54:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Robert A McDougall" <McDougall AT agecon DOT purdue DOT edu>
Organization: Agricultural Economics-Purdue
To: cygwin AT cygwin DOT com
Date: Sun, 9 Sep 2001 00:52:46 EST
MIME-Version: 1.0
Subject: Re: teTeX mktexlsr problem
Message-ID: <3B9ABD5C.32069.622CE7@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)

Further to:

To: cygwin at cygwin dot com 
Subject: teTeX mktexlsr problem 
From: "Robert A McDougall" <McDougall at agecon dot purdue dot edu> 
Date: Wed, 29 Aug 2001 10:56:57 EST 
Organization: Agricultural Economics-Purdue 
>
> mktexlsr misbehaves under Cygwin when $CYGWIN is unset or of zero 
length.
>
> The error is in the test mktexlsr uses to decide
> whether to use Un*x- or W*nd*ws-style path separators:
>
> if test -z "$COMSPEC" && test -z "$ComSpec" || test -n "$CYGWIN"; then
>   SEP=':'
> else
>   SEP=';'
> fi
>
> This is wrong because it's possible (and reasonable) to use
> Cygwin without setting the $CYGWIN variable.  Better is:
>
> if test -z "$COMSPEC" && test -z "$ComSpec" || test "x$OSTYPE" = 
"xcygwin"; then
>   SEP=':'
> else
>   SEP=';'
> fi

A similar change needs to be made in mktex.opt. Otherwise,
with $CYGWIN unset, mktexpk makes "pk" files in the working
directory.

(Is this belaboring the obvious?)


-- 
robert mcdougall  .  center for global trade analysis

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019