/[meta-cvs]/meta-cvs/F-4948435BE08AA37BF07EE55E790D14D9
ViewVC logotype

Diff of /meta-cvs/F-4948435BE08AA37BF07EE55E790D14D9

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by kaz, Tue Jan 2 02:25:22 2007 UTC revision 1.2 by kaz, Tue Jan 2 07:51:19 2007 UTC
# Line 26  done Line 26  done
26  prefix=/usr/local  prefix=/usr/local
27    
28  #  #
 # The all important banner  
 #  
   
 printf "+------------------------+\n"  
 printf "| Meta-CVS configuration |\n"  
 printf "+------------------------+\n"  
   
 #  
29  # Parse configuration variables  # Parse configuration variables
30  #  #
31  while [ $# -gt 0 ] ; do  while [ $# -gt 0 ] ; do
# Line 131  fi Line 123  fi
123  #  #
124    
125  #  #
126    # Grok software version from CVS varaible
127    #
128    
129    name_key="$Name$"
130    save_ifs=$IFS ; IFS=":-$ " ; set -- $name_key ; IFS=$save_ifs
131    mcvs_ver_major=$3
132    mcvs_ver_minor=$4
133    mcvs_ver_patch=$5
134    
135    #
136    # The all important banner.
137    #
138    
139    if [ $3 ] ; then
140      banner_text=$(printf " Configuring Meta-CVS %d.%d.%d \n" $3 $4 $5)
141    else
142      banner_text=" Configuring Meta-CVS (unknown version) "
143    fi
144    banner_box=$(printf "%.*s\n" ${#banner_text} \
145                        "-------------------------------------------")
146    printf "+%s+\n|%s|\n+%s+\n" $banner_box "$banner_text" $banner_box
147    
148    #
149  # From here on in, we bail if any command fails.  # From here on in, we bail if any command fails.
150  #  #
151    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.5