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