Index: mttroot/mtt/bin/trans/cmp2sub_m2sh ================================================================== --- mttroot/mtt/bin/trans/cmp2sub_m2sh +++ mttroot/mtt/bin/trans/cmp2sub_m2sh @@ -11,10 +11,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.6 1999/08/25 21:20:07 peterg +## Don't list components starting with 0 ot 1 +## ## Revision 1.5 1996/11/09 21:09:43 peterg ## Added lib path. ## # Revision 1.4 1996/11/03 21:19:55 peterg # Generates generic commands in form $1name$2. @@ -28,13 +31,18 @@ ## Revision 1.1 1996/10/20 19:19:50 peterg ## Initial revision ## ############################################################### +if [ -f "$1_sub.sh" ]; then + echo Using "$1_sub.sh" + exit +else + #Inform user + echo Creating $1_sub.sh +fi -#Inform user -echo Creating $1_sub.sh echo '# Commands to generate subsystem representations'> $1_sub.sh echo "# File $1_sub.sh" >> $1_sub.sh echo "# Generated by MTT on `date`." >> $1_sub.sh echo >> $1_sub.sh