dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / DebugBento
index c8102ef9b890678332c32c903ed219833c48f5d0..69933f5c81bf01a17017f565e45abab2f40c47d2 100644 (file)
@@ -1,17 +1,19 @@
-#!/bin/csh
+#!/bin/sh
 #
 # A script that aids in debugging and testing dtmail
 #
-if ( `uname -s` != SunOS ) then
+if [ `uname -s` != SunOS ]
+ then
        echo "Only support SunOS"
        exit 1
 endif
-set echo
-setenv DT_MAIL /home/dougr/INBOX
-setenv DEFAULT_BACKEND Bento
-setenv LD_LIBRARY_PATH ../libDtMail:../../../lib/Bento:../../../binstall/lib:$LD_LIBRARY_PATH
+
+export DT_MAIL=$HOME/INBOX
+export DEFAULT_BACKEND=Bento
+export LD_LIBRARY_PATH=../libDtMail:../../../lib/Bento:../../../binstall/lib:$LD_LIBRARY_PATH
 ldd -r dtmail
-if ( -f core ) then
+if [ -f core ]
+ then
        exec debugger dtmail core &
 else
        exec debugger dtmail &