From: Adam Di Carlo Date: Mon, 17 Mar 2003 03:19:34 +0000 (+0000) Subject: Fix a bug just introduced in the output file (.dsl rather than .sgm) X-Git-Tag: release/1.79.1~6^2~4745 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e69f8e0cba9edbd1fa26b346fafad632535af9aa;p=docbook-dsssl Fix a bug just introduced in the output file (.dsl rather than .sgm) --- diff --git a/cvstools/dsl2man b/cvstools/dsl2man index cb78a1d6d..a9f9dffce 100755 --- a/cvstools/dsl2man +++ b/cvstools/dsl2man @@ -47,7 +47,7 @@ while (@FILES) { $file = shift @FILES; ($reference = $file) =~ s/\.dsl/\.sgm/; - $reference = basename($file); + $reference = basename($reference); open (REF, ">$outputdir/$reference") or die("cannot write to $outputdir/$reference: $!\n");