#!/bin/csh 
#
# Purpose: Runs the CDBS delivery process for a set of STIS reference
#          file tables.
#
#==========================================================================
#
banner -- 
printf "You start your STIS delivery process at:" 
date 
#
# Peform the CDBS part of the delivery (verification and db updates)
deliver_cdbs 
if ($status != 0) then
  printf "FAILURE of deliver_cdbs.\n\n"
  exit 1
endif
#
banner -- 
printf "...CDBS process done...Making links for delivery pick-up..."
cdbs_make_links
if ($status != 0) then
  printf "FAILURE of cdbs_make_links.\n\n"
  exit 1
endif
#
banner ----  
printf "...You have successfully finished the delivery process..."  
banner ---- 
printf "Process finished at:" 
date  
banner ....
