Index: mttroot/mtt/bin/trans/ese2rdae_r ================================================================== --- mttroot/mtt/bin/trans/ese2rdae_r +++ mttroot/mtt/bin/trans/ese2rdae_r @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.7 2000/09/01 13:34:15 peterg +## Exit on option error +## ## Revision 1.6 2000/09/01 13:30:32 peterg ## Added -partition switch ## ## Revision 1.5 2000/09/01 12:14:57 peterg ## Added connecti9ng inputs @@ -169,11 +172,11 @@ if [ -n "$partition" ]; then rm -f mtt_junk # Now for the subsystems # Find subsystems - subsystems=`sh rc2_type.sh 'echo ' ' ' | awk '{if (NR>1) print $2}'` + subsystems=`mtt_get_subsystems $1` for subsystem in $subsystems; do echo Doing $subsystem ucname="MTT_"$subsystem"_uc" @@ -206,10 +209,12 @@ shut "mtt_junk"; EOF echo >> $1_rdae.r echo %Connections for subsystem $subsystem >> $1_rdae.r + echo >> $1_rdae.r + cat mtt_junk >> $1_rdae.r rm -rf mtt_junk done fi