#!/bin/csh -f #----------------------------------------------------------------------- # DEMETER System Version 4.3 # Copyright (c) 1990 Northeastern University #------------------------------------------------------------------------ # #$DEMETER/bin/version echo -n $USER " at " $cwd " started at " >> notmod/logs/headers.log date >> notmod/logs/headers.log set PROGRAM = $0 set PROGRAM_NAME = $PROGRAM:t set PROGRAM_DIR = $PROGRAM:h setenv GEN_DIR $PROGRAM_DIR/util/$PROGRAM_NAME $GEN_DIR/`get-cpu`/run-exec $* if ( $status ) then echo -n $USER " at " $cwd " failed at " >> notmod/logs/headers.log date >> notmod/logs/headers.log exit 1 else echo -n $USER " at " $cwd " succeeded at " >> notmod/logs/headers.log date >> notmod/logs/headers.log exit 0 endif