dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / RunLocalMime
index 9b4e1d7a467af751c65af0bac13504f3919ff62f..133f7dd05c45e62bb0a22bceed2ca79573ac2a78 100644 (file)
@@ -1,14 +1,14 @@
-#!/bin/csh -f
+#!/bin/sh -f
 #
 # 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 DEFAULT_BACKEND RFC-MIME
-setenv LD_LIBRARY_PATH ../libDtMail:../../../binstall/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=../libDtMail:../../../binstall/lib:$LD_LIBRARY_PATH
 ldd -r ./dtmail
 exec ./dtmail $* &