ADDED mttroot/mtt/bin/trans/apply_crs Index: mttroot/mtt/bin/trans/apply_crs ================================================================== --- mttroot/mtt/bin/trans/apply_crs +++ mttroot/mtt/bin/trans/apply_crs @@ -0,0 +1,16 @@ +#! /bin/sh + +sys=$1 + +# check for the existence of CRs that we need +crs='' +for cr in `cat ${sys}_cr.txt`; do + if [ -f ${cr}.pm ]; then + crs="$crs $cr" + fi +done + +# should be reading the output from ese_r2make +# on standard input +${MTT_LIB}/cr/perl/apply_cr.pl ${crs} +echo ";end;"