#!/bin/tcsh -f
# ASSIST_MKBUGLIST.CSH -- generate list of ASSIST bugs
unalias rm

# initialize SAORD variables
if ( $?SAORD_ROOT == 0 ) then
  setenv SAORD_ROOT /scisoft/saord
endif
if ( -e ${SAORD_ROOT}/xpa1 ) then
  setenv XPA_VERSION 1
else
  setenv XPA_VERSION 2
endif
if ( $?SAORD_BIN == 0 ) then
  setenv SAORD_BIN ${SAORD_ROOT}/bin.`${SAORD_ROOT}/getarch`
endif
if ( $?SAORD_TMPDIR == 0 ) then
  setenv SAORD_TMPDIR /tmp
endif
setenv SAORD_VERSION "`cat ${SAORD_ROOT}/VERSION`"
# end of SAORD initialization

rm -f -r ${SAORD_ROOT}/Bugs/assist.bugs
${SAORD_BIN}/dispqa filter=number!="0" rdb=${SAORD_ROOT}/Bugs/QA.rdb disp=full xdisplay=no agformat=yes mode=h > ${SAORD_ROOT}/Bugs/assist.bugs

