Package: biabam
Version: 0.9.7-4
Severity: normal
Tags: patch

Hi,

I would like send attachments with space on their filenames, this patch do the 
works.

Thanks you for biabam !
--- /usr/bin/biabam     2006-09-27 22:25:35.000000000 +0200
+++ /usr/local/bin/biabam       2007-02-01 17:13:37.000000000 +0100
@@ -43,9 +43,8 @@

 for i in `seq 1 $TOTAL_ATTACHMENTS`;
  do
  -  STR="'{print \$$i}'"
     # store filenames in an array
     -  ARR_ATTACHMENTS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" `
     +  ARR_ATTACHMENTS[$i]=$(echo "$1" | awk -F$SP '{print $'$i'}' )
      done

       if ! TEMPFILE="`mktemp /tmp/biabam.XXXXXX`"; then
-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages biabam depends on:
ii  bash                          3.1dfsg-8  The GNU Bourne Again SHell
ii  exim4                         4.63-17    metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.63-17    lightweight exim MTA (v4) daemon
ii  sharutils                     1:4.2.1-15 shar, unshar, uuencode, uudecode

biabam recommends no packages.

-- no debconf information


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

Reply via email to