Metropoli BBS
VIEWER: zad MODE: TEXT (ASCII)
#!/bin/sh
# ----------------------------------------------------------------------------
# Description:
# Calls zd to compile a CAPLIB2 source with debugging turned on, then calls
# bug2 to add the object file to the debugging archive.
#
# $HOME should be set to the path to the cap2 subdirectory, e.g. "/home/smitty"
# if it's /home/smitty/cap2.  $PATH should have $HOME/cap2/bat:$HOME/cap2/bin
# at it's front before invoking.
# ----------------------------------------------------------------------------
# Changelog:
# 920101 Created by Smitty.
# ----------------------------------------------------------------------------
zd $1 $2 $3 $4
rc=$?
case $rc in
 0) bug2 $1;;
 *) echo "bad compile = $rc"
	read ltr ;;
esac
[ RETURN TO DIRECTORY ]