www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/22/23:08:57

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: <20040223040833.3284.qmail@web60208.mail.yahoo.com>
Date: Sun, 22 Feb 2004 20:08:33 -0800 (PST)
From: Elvin Peterson <elvin_peterson AT yahoo DOT com>
Subject: Re: xmlto errors
To: Cygwin List <cygwin AT cygwin DOT com>
In-Reply-To: <6.0.1.1.0.20040123132743.02824980@127.0.0.1>
MIME-Version: 1.0
X-IsSubscribed: yes

--- Larry Hall wrote:
> At 01:20 PM 1/23/2004, Elvin Peterson you wrote:
> 
> >> At 12:46 PM 1/23/2004, Elvin Peterson you wrote:
> >> >2) Further, if I use the plain 'html' option, no
> >> files
> >> >are created.  It fails with the error:
> >> >
> >> >cp: cannot stat `*.htm*': No such file or
> directory
> >> >

I have traced this to the last line of xmlto:

${BASH} "$FORMAT" post-process || exit 1

here the new bash process started does not inherit the
directory.  If the line is changed to 

source "$FORMAT" post-process || exit 1

it works without error.  Is there any way to make bash
behave sanely?  According to the documentation,
inheriting directories is the default.  I have also
tried the --norc option, with no result.

> >> >3) I am unable to run xmlto from any other
> >> directory
> >> >other than ~.

This seems to be due to the way options are parsed by
the script--any directory without a leading / is taken
to be a system directory.

Thanks.

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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