Package: docbook-to-man
Version: 1:2.0.0-19
Severity: important
Tags: patch

The error reporting and commandline parameter checking does not work
if zsh is the system shell (very questionable syntax)...

i've included a patch to correct this issue (should no work on all
shells).

cu
Michael Gebetsroither

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15)

Versions of packages docbook-to-man depends on:
ii  docbook                   4.3-1.1        standard SGML representation syste
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  sp                        1.3.4-1.2.1-43 James Clark's SGML parsing tools

docbook-to-man recommends no packages.

-- no debconf information
-- 
/*The only secure computer is one that's unplugged, locked in a
safe, and buried 20 feet under the ground in a secret location...
and i'm not even too sure about that one.*/
--- /usr/bin/docbook-to-man     2005-08-03 17:30:26.000000000 +0200
+++ docbook-to-man.new  2005-10-06 15:07:56.145297750 +0200
@@ -78,10 +78,7 @@ then INSTANCE=$1
 else   error=true
 fi
 
-if `$error`
-then   echo "usage:  docbook-to-man docbook-instance" 1>&2
-       exit 1
-fi
+$error && echo "usage:  docbook-to-man docbook-instance" 1>&2 && exit 1
 
 #if `$doElanPSInclude`
 #then  

Attachment: signature.asc
Description: Digital signature

Reply via email to