[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texi2dvi texinfo 4.5 path_sep bugs
From: |
Per Mildner |
Subject: |
texi2dvi texinfo 4.5 path_sep bugs |
Date: |
04 Apr 2003 11:03:48 +0200 |
These bugs are in texi2dvi as installed by texinfo 4.5
# $Id: texi2dvi,v 1.14 2003/02/05 00:42:33 karl Exp $
The following from texi2dvi is wrong on cygwin (since COMSPEC will be
set, even though the path_sep is ':').
# Systems which define $COMSPEC or $ComSpec use semicolons to separate
# directories in TEXINPUTS.
if test -n "$COMSPEC$ComSpec"; then
path_sep=";"
else
path_sep=":"
fi
The following hardwires path_sep as ':'
# Empty path components are meaningful to tex. We rewrite them
# as `EMPTY' so they don't get lost when we split on $path_sep.
TEXINPUTS=`echo $TEXINPUTS |sed 's/^:/EMPTY:/;s/:$/:EMPTY/;s/::/:EMPTY:/g'`
INDEXSTYLE=`echo $INDEXSTYLE |sed 's/^:/EMPTY:/;s/:$/:EMPTY/;s/::/:EMPTY:/g'`
Regards,
- texi2dvi texinfo 4.5 path_sep bugs,
Per Mildner <=