Ticket #282: fix-outlook2text.patch

File fix-outlook2text.patch, 717 bytes (added by exec, 12 years ago)
  • xapian-applications/omega/outlook2text

    diff -up xapian/xapian-applications/omega/outlook2text xapian-mod/xapian-applications/omega/outlook2text
    old new  
    22# converts msg to mbox and extract attachments
    33# either be in the cache dir, or accept it as 2nd arg
    44if [ -n $2 ]; then
    5    "$1" | /usr/local/lib/xapian-omega/bin/mimeexplode -d "$2"
     5   /bin/cat "$1" | mimeexplode -d "$2"
    66else
    77  # already is in the cache dir
    88  base=`basename "$1" .msg`
    9    "$1" | /usr/local/lib/xapian-omega/bin/mimeexplode -d "${base}"
     9   /bin/cat "$1" | mimeexplode -d "${base}"
    1010fi