Package: lbdb
Version: 0.34
Severity: minor
Tags: patch

I am working on m_palm_db6 (the new Palm database format) and I use
set -u, which I always do. This causes the following errors:

  /usr/bin/lbdbq: 86: KEEP_DUPES: parameter not set
  /usr/bin/lbdbq: 98: SORT_OUTPUT: parameter not set

The following patch fixes that:

diff -u /tmp/lbdbq /usr/bin/lbdbq
--- /tmp/lbdbq  2007-05-04 12:05:44.000000000 +0200
+++ /usr/bin/lbdbq  2007-05-04 12:06:23.000000000 +0200
@@ -74,7 +74,7 @@
   eval ${method}_query \""$@"\" >> $collection || true
 done
 
-case "$KEEP_DUPES" in
+case "${KEEP_DUPES:-}" in
     true|yes)
  MUNGE=cat
  MUNGE_KEEPORDER=cat
@@ -85,7 +85,7 @@
  ;;
 esac
 
-case "$SORT_OUTPUT" in
+case "${SORT_OUTPUT:-}" in
     false|no)
  $MUNGE_KEEPORDER $collection | $TAC > $collection.uniq
  ;;

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lbdb depends on:
ii  libc6                         2.5-4      GNU C Library: Shared libraries
ii  libvformat1                   1.13-4     Library to read and write vcard fi
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

lbdb recommends no packages.

-- no debconf information

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to