Bug 53546

Summary: jw breaks when both -d and -o are used
Product: [Retired] Red Hat Raw Hide Reporter: Tim Waugh <twaugh>
Component: docbook-utilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-28 21:44:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Here's the fix. none

Description Tim Waugh 2001-09-11 08:04:45 UTC
Description of Problem:
jw can't handle both the -d and -o options at once.

Version-Release number of selected component (if applicable):
docbook-utils-0.6.9-2

How Reproducible:
100%

Steps to Reproduce:
1. jw -f docbook -b html -o html -d file.dsl file.sgml

Actual Results:
Command fails.

Expected Results:
Command puts output in html/ and uses file.dsl as its stylesheet.

Additional Information:
This is because jw actually enters the output directory before calling 
the backend.  It should convert relative file names to absolute file 
names before doing so.

Comment 1 Tim Waugh 2001-09-28 21:44:12 UTC
Created attachment 32978 [details]
Here's the fix.

Comment 2 Tim Waugh 2001-10-22 08:50:51 UTC
Fixed in docbook-utils-0.6.9-5.