#!/bin/csh # Deposit all patch files in the current directory or $DIR # into the SD depot $DEPOT. The patches are removed once # deposited, as long as it works. -EAM 97/2/5 set DIR=`pwd` set DEPOT=/tmp/patch/depot cd $DIR foreach PATCH ( PH??_???? ) /bin/sh $PATCH swcopy -s $DIR/${PATCH}.depot \* @ $DEPOT if ( $status == 0 ) then /bin/rm ${PATCH} endif /bin/rm ${PATCH}.depot /bin/rm ${PATCH}.text end