Package: rdiff-backup
Version: 1.2.8-1
Severity: normal

Hi,

The bash_completion file contains a dash in the function name, which may
create problems on Bash 2 and on POSIX mode Bash.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=304624#15

The fix is trivial, just change _rdiff-backup () to _rdiff_backup.
See the following patch:

--- debian/config/bash-completion.old   2009-06-02 19:46:39.000000000 +0200
+++ debian/config/bash-completion       2009-06-02 19:46:54.000000000 +0200
@@ -11,7 +11,7 @@
 
 shopt -s extglob
 
-_rdiff-backup ()
+_rdiff_backup ()
 {
        local cur prev wfilearg wpatharg wnumarg wotherarg longopts shortopts 
options
        COMPREPLAY=()
@@ -94,4 +94,4 @@ _rdiff-backup ()
        fi
 }
 
-complete -F _rdiff-backup -o filenames rdiff-backup
+complete -F _rdiff_backup -o filenames rdiff-backup


Cheers,
Emilio


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

Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rdiff-backup depends on:
ii  libc6                         2.9-13     GNU C Library: Shared libraries
ii  librsync1                     0.9.7-5    rsync remote-delta algorithm libra
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                1.0.3      automated rebuilding support for P

Versions of packages rdiff-backup recommends:
ii  python-pylibacl               0.4.0-2    module for manipulating POSIX.1e A
ii  python-pyxattr                0.4.0-1    module for manipulating filesystem

rdiff-backup suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to