Rewrite csh scripts in sh, use sh instead of csh in scripts

This commit is contained in:
chase
2018-04-23 19:49:30 -07:00
committed by Jon Trulson
parent 73dafa91e7
commit 00fc1c54c1
12 changed files with 35 additions and 32 deletions

View File

@@ -1,16 +1,16 @@
#!/bin/csh -f
set echo
#
# 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
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
exec dtmail &