#!/bin/sh # ---------------------------------------------------------------------------- # Description: # Reconstructs the debugging version of the CAPLIB2 APL2 interpreter, apldeb2. # # $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. # ---------------------------------------------------------------------------- cd $HOME/cap2/source trap "cp $HOME/cap2/include/apldebug.h0 $HOME/cap2/include/apldebug.h" EXIT cp $HOME/cap2/include/apldebug.h1 $HOME/cap2/include/apldebug.h buglib2 linkdeb2 exit