dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / DebugMime
1 #!/bin/sh
2 #
3 # A script that aids in debugging and testing dtmail
4 #
5 if [ `uname -s` != SunOS ]
6  then
7         echo "Only support SunOS"
8         exit 1
9 endif
10
11 export LD_LIBRARY_PATH=../libDtMail:../../../binstall/lib:$LD_LIBRARY_PATH
12 ldd -r dtmail
13
14 export ARGS="$*"
15 if [ -f core ]
16  then
17         exec debugger dtmail core &
18 else
19         exec debugger dtmail &
20 endif
21 exit 1